diff options
author | Ananya Sen | 2012-06-05 16:13:49 -0700 |
---|---|---|
committer | Ananya Sen | 2012-06-05 16:13:49 -0700 |
commit | 71ee2afc745277a8459c0c82d0829f1302956122 (patch) | |
tree | cca1a92b8fe4b39d3f179add496205c113ac6024 /js/helper-classes | |
parent | e82a0dac35fcea2d1ce7bcbb3e89c822c87d774f (diff) | |
parent | b23a684a6aba38946867463bbbf4184ba2a2ff4a (diff) | |
download | ninja-71ee2afc745277a8459c0c82d0829f1302956122.tar.gz |
Merge branch 'refs/heads/ninja-internal-master' into bugfix-master
Diffstat (limited to 'js/helper-classes')
-rwxr-xr-x | js/helper-classes/3D/draw-utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/3D/draw-utils.js b/js/helper-classes/3D/draw-utils.js index a793b643..eef28dce 100755 --- a/js/helper-classes/3D/draw-utils.js +++ b/js/helper-classes/3D/draw-utils.js | |||
@@ -1217,7 +1217,7 @@ var DrawUtils = exports.DrawUtils = Montage.create(Component, { | |||
1217 | var saveLineWidth = this._lineWidth; | 1217 | var saveLineWidth = this._lineWidth; |
1218 | 1218 | ||
1219 | var origLeft = 60; | 1219 | var origLeft = 60; |
1220 | var origTop = this.snapManager.getStageHeight() - 60; | 1220 | var origTop = tmpCanvas.height - 60; |
1221 | 1221 | ||
1222 | var mat = this.viewUtils.getMatrixFromElement( this._sourceSpaceElt ); | 1222 | var mat = this.viewUtils.getMatrixFromElement( this._sourceSpaceElt ); |
1223 | var tMat = Matrix.Translation([origLeft,origTop,0]); | 1223 | var tMat = Matrix.Translation([origLeft,origTop,0]); |