diff options
author | Nivesh Rajbhandari | 2012-06-22 11:15:46 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-22 11:15:46 -0700 |
commit | cd7ba9648312a3f55fae9c33285be1d9540e13f9 (patch) | |
tree | bb3b75e964883a1979371c51d53587c5397beec7 | |
parent | 330a954e92dfc95fae6ae5cf10dd5998f346b304 (diff) | |
download | ninja-cd7ba9648312a3f55fae9c33285be1d9540e13f9.tar.gz |
Display "(0, 0)" where the origin is.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-x | js/helper-classes/3D/draw-utils.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/helper-classes/3D/draw-utils.js b/js/helper-classes/3D/draw-utils.js index 168d550d..bd47ffc3 100755 --- a/js/helper-classes/3D/draw-utils.js +++ b/js/helper-classes/3D/draw-utils.js | |||
@@ -1211,6 +1211,8 @@ var DrawUtils = exports.DrawUtils = Montage.create(Component, { | |||
1211 | 1211 | ||
1212 | context.closePath(); | 1212 | context.closePath(); |
1213 | context.stroke(); | 1213 | context.stroke(); |
1214 | |||
1215 | context.fillText("(0, 0)", bounds3D[0][0] + 4, bounds3D[0][1] - 6); | ||
1214 | context.restore(); | 1216 | context.restore(); |
1215 | } | 1217 | } |
1216 | }, | 1218 | }, |