mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-18 16:13:10 +00:00
fix issue with circle not disappearing when is equal to
This commit is contained in:
parent
1a37f2bb05
commit
7fdd5d30cf
@ -73,13 +73,15 @@ export default class CircularProgress extends React.PureComponent {
|
||||
fill="transparent"
|
||||
/>
|
||||
)}
|
||||
<Path
|
||||
d={circlePath}
|
||||
stroke={tintColor}
|
||||
strokeWidth={width}
|
||||
strokeLinecap={lineCap}
|
||||
fill="transparent"
|
||||
/>
|
||||
{fill > 0 && (
|
||||
<Path
|
||||
d={circlePath}
|
||||
stroke={tintColor}
|
||||
strokeWidth={width}
|
||||
strokeLinecap={lineCap}
|
||||
fill="transparent"
|
||||
/>
|
||||
)}
|
||||
</G>
|
||||
</Svg>
|
||||
{children && (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user