aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-01 15:03:02 -0700
committerValerio Virgillito2012-06-01 15:03:02 -0700
commitef48a58da2c7d173605fd43e8f48dac5055c3fa1 (patch)
tree80cfb58dafbcc216222e842f9e562bccac461c64 /js/controllers
parent62ac633975d6c461ec478887e574f6b155511a23 (diff)
parent4f04bf2dc4e33bfdf3b9d19e04a5dc08704f8e98 (diff)
downloadninja-ef48a58da2c7d173605fd43e8f48dac5055c3fa1.tar.gz
Merge pull request #7 from mqg734/dom-architecture-pentool
Fixed stage's styles not getting initialized correctly and stage rotating too fast.
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/styles-controller.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 863348cd..83722184 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -160,10 +160,6 @@ var stylesController = exports.StylesController = Montage.create(Component, {
160 this.setStyles(rule, styles); 160 this.setStyles(rule, styles);
161 this.addClass(this.currentDocument.model.documentRoot, "ninja-body"); 161 this.addClass(this.currentDocument.model.documentRoot, "ninja-body");
162 } 162 }
163
164 //TODO - Temporarily moving this here so we guarantee the StylesController has a chance
165 // to initialize the stage's styles prior to doing any styles lookup.
166 this.application.ninja.stage.snapManager.setupDragPlaneFromPlane (workingPlane);
167 } 163 }
168 }, 164 },
169 /* ----------------- Rule methods ----------------- */ 165 /* ----------------- Rule methods ----------------- */