diff options
author | Valerio Virgillito | 2012-06-11 17:46:29 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-11 17:46:29 -0700 |
commit | b6c88f548c8d3756738e534418732710af733f03 (patch) | |
tree | d651ce2811019a3bccfd8be1326762cd2c601316 /js/panels/resize-composer.js | |
parent | 91123fef348ec54d89005adbc151e816856a6a18 (diff) | |
parent | 6854a72504f57903bd5de003e377f2aefb02d0da (diff) | |
download | ninja-b6c88f548c8d3756738e534418732710af733f03.tar.gz |
Merge branch 'refs/heads/master' into montage-v10-integration
Conflicts:
js/io/system/ninjalibrary.json
js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/resize-composer.js')
-rw-r--r-- | js/panels/resize-composer.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/panels/resize-composer.js b/js/panels/resize-composer.js index fe09aec8..33e42511 100644 --- a/js/panels/resize-composer.js +++ b/js/panels/resize-composer.js | |||
@@ -107,6 +107,8 @@ exports.ResizeComposer = Montage.create(Composer, { | |||
107 | captureMouseup: { | 107 | captureMouseup: { |
108 | value: function(e) { | 108 | value: function(e) { |
109 | e.preventDefault(); | 109 | e.preventDefault(); |
110 | e.stopImmediatePropagation(); | ||
111 | e.stopPropagation(); | ||
110 | window.removeEventListener("mousemove", this, true); | 112 | window.removeEventListener("mousemove", this, true); |
111 | window.removeEventListener("mouseup", this, true); | 113 | window.removeEventListener("mouseup", this, true); |
112 | this._executeEvent("resizeEnd"); | 114 | this._executeEvent("resizeEnd"); |
@@ -115,6 +117,9 @@ exports.ResizeComposer = Montage.create(Composer, { | |||
115 | 117 | ||
116 | captureMousemove: { | 118 | captureMousemove: { |
117 | value: function(e) { | 119 | value: function(e) { |
120 | e.preventDefault(); | ||
121 | e.stopImmediatePropagation(); | ||
122 | e.stopPropagation(); | ||
118 | if (this.xAxis) { | 123 | if (this.xAxis) { |
119 | this._deltaX = e.clientX - this._startX; | 124 | this._deltaX = e.clientX - this._startX; |
120 | } | 125 | } |