aboutsummaryrefslogtreecommitdiff
path: root/js/stage
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/stage
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/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 4d9296a1..d8f7313b 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -1090,9 +1090,7 @@ exports.Stage = Montage.create(Component, {
1090 1090
1091 this.snapManager._isCacheInvalid = true; 1091 this.snapManager._isCacheInvalid = true;
1092 this.snapManager.currentStage = this.currentDocument.model.documentRoot; 1092 this.snapManager.currentStage = this.currentDocument.model.documentRoot;
1093 //TODO - StylesController needs to initialize the stage's styles prior to calling this. 1093 this.snapManager.setupDragPlaneFromPlane (workingPlane);
1094 // So, moving this into styles-controller.initializeRootStyles code.
1095// this.snapManager.setupDragPlaneFromPlane (workingPlane);
1096 1094
1097 this.drawUtils.initializeFromDocument(); 1095 this.drawUtils.initializeFromDocument();
1098 } 1096 }