mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-25 16:25:58 +00:00
Fixed rendering bug.
This commit is contained in:
parent
fe2ac7e8bb
commit
0d257e6bb9
@ -39,13 +39,11 @@ export default class CircularProgress extends React.Component {
|
||||
<Group rotation={rotation - 90} originX={size/2} originY={size/2}>
|
||||
<Shape d={circlePath}
|
||||
stroke={backgroundColor}
|
||||
strokeCap="butt"
|
||||
strokeDash={[(size - width) * Math.PI, 700]}
|
||||
strokeWidth={width} />
|
||||
<Shape d={circlePath}
|
||||
stroke={tintColor}
|
||||
strokeCap="butt"
|
||||
strokeDash={[(size - width) * Math.PI * fill / 100, 700]}
|
||||
strokeDash={[(size - width) * Math.PI * fill / 100, 9999]}
|
||||
strokeWidth={width} />
|
||||
</Group>
|
||||
</Surface>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user