diff options
author | Armen Kesablyan | 2012-03-23 14:33:41 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-03-23 14:33:41 -0700 |
commit | 94a4be4b7b77f4c1498e8fb65e00d73ccbd56813 (patch) | |
tree | 77dd6444fcec5a4180b9245c9e7c260f599a57b9 /js/ninja.reel | |
parent | cd0b4714b782f8cc4cf9255fa2653d3d5eeade43 (diff) | |
download | ninja-94a4be4b7b77f4c1498e8fb65e00d73ccbd56813.tar.gz |
Resizers updated
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-x | js/ninja.reel/ninja.html | 4 | ||||
-rwxr-xr-x | js/ninja.reel/ninja.js | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html index b3545329..7b5a6e52 100755 --- a/js/ninja.reel/ninja.html +++ b/js/ninja.reel/ninja.html | |||
@@ -148,6 +148,10 @@ | |||
148 | { | 148 | { |
149 | "type": "resizeEnd", | 149 | "type": "resizeEnd", |
150 | "listener": {"@": "owner"} | 150 | "listener": {"@": "owner"} |
151 | }, | ||
152 | { | ||
153 | "type": "resizeReset", | ||
154 | "listener": {"@": "owner"} | ||
151 | } | 155 | } |
152 | ] | 156 | ] |
153 | }, | 157 | }, |
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index e29c5057..b432755f 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -97,6 +97,19 @@ exports.Ninja = Montage.create(Component, { | |||
97 | } | 97 | } |
98 | }, | 98 | }, |
99 | 99 | ||
100 | handleResizeReset: { | ||
101 | value: function(e) { | ||
102 | this.width = 253; | ||
103 | this.height = 140; | ||
104 | this._resizedHeight = 0; | ||
105 | this._resizedWidth = 0; | ||
106 | this.needsDraw = true; | ||
107 | this.timelineSplitter.collapsed = false; | ||
108 | this.panelSplitter.collapsed = false; | ||
109 | } | ||
110 | }, | ||
111 | |||
112 | |||
100 | selectedElements: { | 113 | selectedElements: { |
101 | value: [] | 114 | value: [] |
102 | }, | 115 | }, |