diff options
author | Valerio Virgillito | 2012-03-14 23:25:34 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-14 23:25:34 -0700 |
commit | da5dfc8863ad47c48414ff1fdacbacdb91abd30c (patch) | |
tree | 22961320d21c29161650fa0199c55ddda1bd0554 /js/panels | |
parent | a7cb2c0b22f03b79f19d4a9a2eb691d1ccc392f9 (diff) | |
download | ninja-da5dfc8863ad47c48414ff1fdacbacdb91abd30c.tar.gz |
Fixing the splitter resize canvas bug by getting the size when a document is opened.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels')
-rwxr-xr-x | js/panels/Splitter.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/panels/Splitter.js b/js/panels/Splitter.js index a396ea28..e92cb2dd 100755 --- a/js/panels/Splitter.js +++ b/js/panels/Splitter.js | |||
@@ -91,12 +91,6 @@ exports.Splitter = Montage.create(Component, { | |||
91 | } | 91 | } |
92 | }, | 92 | }, |
93 | 93 | ||
94 | didDraw: { | ||
95 | value: function() { | ||
96 | this.application.ninja.stage.resizeCanvases = true; | ||
97 | } | ||
98 | }, | ||
99 | |||
100 | handleClick : { | 94 | handleClick : { |
101 | value: function() { | 95 | value: function() { |
102 | if (!this.disabled) { | 96 | if (!this.disabled) { |