diff options
author | Eric Guzman | 2012-05-29 15:29:11 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-29 15:29:11 -0700 |
commit | 25ac55c285bb4850118c644dc57adaeda5b9a859 (patch) | |
tree | b645941d7916716cbaf4860355df4101fc0f4c3c /js/stage/tool-handle.js | |
parent | 1fda3cea5f8dced1e14533969722e30b8ea1e6fa (diff) | |
parent | 58e454c828abf0b64fa62120359bcd78a0d34ac4 (diff) | |
download | ninja-25ac55c285bb4850118c644dc57adaeda5b9a859.tar.gz |
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into CSSPanelUpdates
Diffstat (limited to 'js/stage/tool-handle.js')
-rwxr-xr-x | js/stage/tool-handle.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/tool-handle.js b/js/stage/tool-handle.js index 63cf30e5..70289512 100755 --- a/js/stage/tool-handle.js +++ b/js/stage/tool-handle.js | |||
@@ -243,7 +243,7 @@ exports.RotateHandle = Montage.create(ToolHandle, { | |||
243 | this._origin = pointOnElt; | 243 | this._origin = pointOnElt; |
244 | 244 | ||
245 | 245 | ||
246 | var viewMat = viewUtils.getMatrixFromElement(this.application.ninja.currentDocument.documentRoot); | 246 | var viewMat = viewUtils.getMatrixFromElement(this.application.ninja.currentDocument.model.documentRoot); |
247 | 247 | ||
248 | var transMat = viewMat.slice(0); | 248 | var transMat = viewMat.slice(0); |
249 | if(inLocalMode) | 249 | if(inLocalMode) |
@@ -585,7 +585,7 @@ exports.TranslateHandle = Montage.create(ToolHandle, { | |||
585 | this._origin = pointOnElt; | 585 | this._origin = pointOnElt; |
586 | 586 | ||
587 | 587 | ||
588 | var stage = this.application.ninja.currentDocument.documentRoot; | 588 | var stage = this.application.ninja.currentDocument.model.documentRoot; |
589 | var viewMat = viewUtils.getMatrixFromElement(stage); | 589 | var viewMat = viewUtils.getMatrixFromElement(stage); |
590 | // Get viewMat without zoom value | 590 | // Get viewMat without zoom value |
591 | var zoom = this.application.ninja.documentBar.zoomFactor/100; | 591 | var zoom = this.application.ninja.documentBar.zoomFactor/100; |