Skip to content

Commit 9151dbe

Browse files
author
khanspers
committed
going back to old code
1 parent 8764721 commit 9151dbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

path-calculator/arc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ crossPlatformShapes.pathCalculator.arc = function(data){
88

99
var yControlPoint = (height * (2/3);
1010

11-
var pathData = [{command: 'moveTo', points: [x, y-0.5*height]},
12-
{command: 'bezierCurveTo', points: [(x), (y-0.5*height + yControlPoint), (x + width), (y-0.5*height + yControlPoint), (x + width), (y-0.5*height)]}];
11+
var pathData = [{command: 'moveTo', points: [x, y]},
12+
{command: 'bezierCurveTo', points: [(x), (y + yControlPoint), (x + width), (y + yControlPoint), (x + width), (y)]}];
1313

1414
return pathData;
1515
};

0 commit comments

Comments
 (0)