From fa95b83177dfaa091364edfa1219648d71bf9a85 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Tue, 3 Apr 2012 09:42:11 -0700 Subject: 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 --- assets/canvas-runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets') 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() mat[5] = yScale; // get the bezier points - var bezPts = this.circularArcToBezier( Vector.create([0,0,0]), Vector.create([1,0,0]), -2.0*Math.PI ); + var bezPts = this.circularArcToBezier( [0,0,0], [1,0,0], -2.0*Math.PI ); if (bezPts) { var n = bezPts.length; -- cgit v1.2.3