aboutsummaryrefslogtreecommitdiff
path: root/js/tools/RotateStage3DTool.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-04 17:10:01 -0700
committerNivesh Rajbhandari2012-05-04 17:10:01 -0700
commit27935436ad8cd0675311667f70b6a285eb126a94 (patch)
treee005ed8f855b1331eca878e248d4fa657cbdbc96 /js/tools/RotateStage3DTool.js
parentefe62dff2ba6894551fb9679d150255bae5af36e (diff)
downloadninja-27935436ad8cd0675311667f70b6a285eb126a94.tar.gz
Fixing references to iframe's styles in new template.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/RotateStage3DTool.js')
-rwxr-xr-xjs/tools/RotateStage3DTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/RotateStage3DTool.js b/js/tools/RotateStage3DTool.js
index 90cbe95e..c8818021 100755
--- a/js/tools/RotateStage3DTool.js
+++ b/js/tools/RotateStage3DTool.js
@@ -139,7 +139,7 @@ exports.RotateStage3DTool = Montage.create(Rotate3DToolBase, {
139 // let the document and stage manager know about the zoom change 139 // let the document and stage manager know about the zoom change
140 this.application.ninja.stage._firstDraw = true; 140 this.application.ninja.stage._firstDraw = true;
141 this.application.ninja.documentBar.zoomFactor = 100; 141 this.application.ninja.documentBar.zoomFactor = 100;
142 this.application.ninja.currentDocument.iframe.style.zoom = 1.0; 142 this.application.ninja.currentDocument.model.views.design.iframe.style.zoom = 1.0;
143 this.application.ninja.stage._firstDraw = false; 143 this.application.ninja.stage._firstDraw = false;
144 144
145 // TODO - Any updates to the stage should redraw stage's children. Move this to mediator? 145 // TODO - Any updates to the stage should redraw stage's children. Move this to mediator?