diff options
author | Valerio Virgillito | 2012-06-01 15:03:02 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-01 15:03:02 -0700 |
commit | ef48a58da2c7d173605fd43e8f48dac5055c3fa1 (patch) | |
tree | 80cfb58dafbcc216222e842f9e562bccac461c64 /js/stage | |
parent | 62ac633975d6c461ec478887e574f6b155511a23 (diff) | |
parent | 4f04bf2dc4e33bfdf3b9d19e04a5dc08704f8e98 (diff) | |
download | ninja-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-x | js/stage/stage.reel/stage.js | 4 |
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 | } |