aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-30 09:55:33 -0700
committerNivesh Rajbhandari2012-05-30 09:55:33 -0700
commitd4f2df2a7b3ec79fc54e17f09195dbc37331f051 (patch)
treeb139af90c188c30041b195c482fab74e7e3f4487 /js
parent820005437e7270e72b865a3436d7148e1dd19900 (diff)
downloadninja-d4f2df2a7b3ec79fc54e17f09195dbc37331f051.tar.gz
Fix for snap-align not working correctly after resizing the stage.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/stage/layout.js1
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) {