aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-01 08:10:11 -0700
committerValerio Virgillito2012-06-01 08:10:11 -0700
commitf457f110e560d50cb12f4cd3c4859bfc42a0ef3d (patch)
treecc2b387c796b0f34f1ab00a7c542c335d52005e9 /js/stage
parent7fcb10270f9e19415f8452c261c2d0c86916a29a (diff)
parent69ca67093bb53188dca5437e0bfbfb7f676ada85 (diff)
downloadninja-f457f110e560d50cb12f4cd3c4859bfc42a0ef3d.tar.gz
Merge pull request #6 from mqg734/dom-architecture-pentool
We were not saving all the necessary styles for the body.
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index d8f7313b..4d9296a1 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -1090,7 +1090,9 @@ 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 this.snapManager.setupDragPlaneFromPlane (workingPlane); 1093 //TODO - StylesController needs to initialize the stage's styles prior to calling this.
1094 // So, moving this into styles-controller.initializeRootStyles code.
1095// this.snapManager.setupDragPlaneFromPlane (workingPlane);
1094 1096
1095 this.drawUtils.initializeFromDocument(); 1097 this.drawUtils.initializeFromDocument();
1096 } 1098 }