aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-27 17:41:09 -0800
committerValerio Virgillito2012-02-27 17:41:09 -0800
commit700611c9aaee6093bbf4e86503c1decb5ac65c83 (patch)
treebd7aa52a1e1a2010a1d9f159955e0a81765a6685
parente9766799e6340b02821d88b55824bd0506366c23 (diff)
downloadninja-700611c9aaee6093bbf4e86503c1decb5ac65c83.tar.gz
Fix for double clicking in the resizer
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rwxr-xr-xjs/panels/Resizer.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/panels/Resizer.js b/js/panels/Resizer.js
index 60fdde4f..ca6ed062 100755
--- a/js/panels/Resizer.js
+++ b/js/panels/Resizer.js
@@ -135,10 +135,13 @@ exports.Resizer = Montage.create(Component, {
135 135
136 handleWebkitTransitionEnd: { 136 handleWebkitTransitionEnd: {
137 value: function() { 137 value: function() {
138
138 if(this.redrawStage) { 139 if(this.redrawStage) {
139 this.application.ninja.stage.resizeCanvases = true; 140 this.application.ninja.stage.resizeCanvases = true;
140 } 141 }
141 this.panel.removeEventListener("webkitTransitionEnd"); 142
143 this.panel.removeEventListener("webkitTransitionEnd", this, false);
144
142 } 145 }
143 }, 146 },
144 147