aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-03 09:42:11 -0700
committerNivesh Rajbhandari2012-04-03 09:42:11 -0700
commitfa95b83177dfaa091364edfa1219648d71bf9a85 (patch)
tree8e6f4a9cfa327e00517f08aac1072a8525a5fadb
parentbf815cbda0f7a4f2b8ca9532745fa525ed60c8d3 (diff)
downloadninja-fa95b83177dfaa091364edfa1219648d71bf9a85.tar.gz
IKNinja-1392 - Unable to view Oval canvas2D with Inner Radius in the Chrome-Preview. Any shapes object are drawn after will not shown in Chrome-Preview.
Vector.create should be replaced with [ ] notation. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rw-r--r--assets/canvas-runtime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/canvas-runtime.js b/assets/canvas-runtime.js
index f53a4ef6..967b483b 100644
--- a/assets/canvas-runtime.js
+++ b/assets/canvas-runtime.js
@@ -1026,7 +1026,7 @@ function RuntimeOval()
1026 mat[5] = yScale; 1026 mat[5] = yScale;
1027 1027
1028 // get the bezier points 1028 // get the bezier points
1029 var bezPts = this.circularArcToBezier( Vector.create([0,0,0]), Vector.create([1,0,0]), -2.0*Math.PI ); 1029 var bezPts = this.circularArcToBezier( [0,0,0], [1,0,0], -2.0*Math.PI );
1030 if (bezPts) 1030 if (bezPts)
1031 { 1031 {
1032 var n = bezPts.length; 1032 var n = bezPts.length;