diff options
author | Nivesh Rajbhandari | 2012-05-30 09:55:33 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-30 09:55:33 -0700 |
commit | d4f2df2a7b3ec79fc54e17f09195dbc37331f051 (patch) | |
tree | b139af90c188c30041b195c482fab74e7e3f4487 | |
parent | 820005437e7270e72b865a3436d7148e1dd19900 (diff) | |
download | ninja-d4f2df2a7b3ec79fc54e17f09195dbc37331f051.tar.gz |
Fix for snap-align not working correctly after resizing the stage.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-x | js/stage/layout.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js index 4eecd4d5..7b6e47e7 100755 --- a/js/stage/layout.js +++ b/js/stage/layout.js | |||
@@ -136,6 +136,7 @@ exports.Layout = Montage.create(Component, { | |||
136 | value: function(updatePlanes) { | 136 | value: function(updatePlanes) { |
137 | if(updatePlanes) { | 137 | if(updatePlanes) { |
138 | drawUtils.updatePlanes(); | 138 | drawUtils.updatePlanes(); |
139 | this.application.ninja.stage.stageDeps.snapManager._isCacheInvalid = true; | ||
139 | } | 140 | } |
140 | 141 | ||
141 | if(this.stage.appModel.show3dGrid) { | 142 | if(this.stage.appModel.show3dGrid) { |