aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
authorEric Guzman2012-05-29 15:29:11 -0700
committerEric Guzman2012-05-29 15:29:11 -0700
commit25ac55c285bb4850118c644dc57adaeda5b9a859 (patch)
treeb645941d7916716cbaf4860355df4101fc0f4c3c /js/tools/Translate3DToolBase.js
parent1fda3cea5f8dced1e14533969722e30b8ea1e6fa (diff)
parent58e454c828abf0b64fa62120359bcd78a0d34ac4 (diff)
downloadninja-25ac55c285bb4850118c644dc57adaeda5b9a859.tar.gz
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into CSSPanelUpdates
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-xjs/tools/Translate3DToolBase.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js
index f81ce6d6..8437ec09 100755
--- a/js/tools/Translate3DToolBase.js
+++ b/js/tools/Translate3DToolBase.js
@@ -296,7 +296,7 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase,
296 //this._setTransformOrigin(false); 296 //this._setTransformOrigin(false);
297 } 297 }
298 else { 298 else {
299 this.target = this.application.ninja.currentDocument.documentRoot; 299 this.target = this.application.ninja.currentDocument.model.documentRoot;
300 //this._origin = drawUtils._selectionCtr.slice(0); 300 //this._origin = drawUtils._selectionCtr.slice(0);
301 //this._origin[0] += this.application.ninja.stage.userContentLeft; 301 //this._origin[0] += this.application.ninja.stage.userContentLeft;
302 //this._origin[1] += this.application.ninja.stage.userContentTop; 302 //this._origin[1] += this.application.ninja.stage.userContentTop;
@@ -407,7 +407,7 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase,
407 else 407 else
408 { 408 {
409 lMode = false; 409 lMode = false;
410 viewUtils.pushViewportObj( this.application.ninja.currentDocument.documentRoot ); 410 viewUtils.pushViewportObj( this.application.ninja.currentDocument.model.documentRoot );
411 } 411 }
412 412
413 if(this._handleMode !== null) 413 if(this._handleMode !== null)