mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-25 16:25:58 +00:00
fix angle
This commit is contained in:
parent
1beee68608
commit
a602fe601c
@ -21,7 +21,7 @@ export default class CircularProgress extends React.Component {
|
||||
}
|
||||
|
||||
circlePath(x, y, radius, startAngle, endAngle){
|
||||
var start = this.polarToCartesian(x, y, radius, endAngle);
|
||||
var start = this.polarToCartesian(x, y, radius, endAngle * 0.9999);
|
||||
var end = this.polarToCartesian(x, y, radius, startAngle);
|
||||
var largeArcFlag = endAngle - startAngle <= 180 ? "0" : "1";
|
||||
var d = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user