diff options
author | Valerio Virgillito | 2012-06-05 13:52:52 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-05 13:52:52 -0700 |
commit | fae2c19f64a00098fe42da5e9c6cb7cdcc8c8721 (patch) | |
tree | 3bf14cffa3fac4fd0eac965e258ba4f19fd35c98 /js/helper-classes/3D | |
parent | 9a429f22a958fe372309e241c480923b7462d426 (diff) | |
parent | 1f1234c25727d0d379fbf706029a18614ec35b5f (diff) | |
download | ninja-fae2c19f64a00098fe42da5e9c6cb7cdcc8c8721.tar.gz |
Merge pull request #268 from mqg734/CompassLocation
Compass should draw in lower-left regardless of the stage height.
Diffstat (limited to 'js/helper-classes/3D')
-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]); |