aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D/draw-utils.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-06-22 11:15:46 -0700
committerNivesh Rajbhandari2012-06-22 11:15:46 -0700
commitcd7ba9648312a3f55fae9c33285be1d9540e13f9 (patch)
treebb3b75e964883a1979371c51d53587c5397beec7 /js/helper-classes/3D/draw-utils.js
parent330a954e92dfc95fae6ae5cf10dd5998f346b304 (diff)
downloadninja-cd7ba9648312a3f55fae9c33285be1d9540e13f9.tar.gz
Display "(0, 0)" where the origin is.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/3D/draw-utils.js')
-rwxr-xr-xjs/helper-classes/3D/draw-utils.js2
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 },