Skip to content

Commit ff564a8

Browse files
author
crisbeto
committed
remove extra braces
1 parent 9eeb594 commit ff564a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/roundProgressService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ angular.module('angular-svg-round-progress').service('roundProgressService', [fu
2222
if(!size) return ring;
2323

2424
var value = val >= total ? total - 0.00001 : val,
25-
type = (isSemicircle ? 180 : 359.9999),
25+
type = isSemicircle ? 180 : 359.9999,
2626
perc = total === 0 ? 0 : (value / total) * type,
2727
x = size/2,
2828
start = polarToCartesian(x, x, R, perc), // in this case x and y are the same

0 commit comments

Comments
 (0)