mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-18 16:13:10 +00:00
fix linecap
This commit is contained in:
parent
7227967eb5
commit
14030d7aaf
@ -19,7 +19,7 @@ export default class CircularProgress extends React.PureComponent {
|
||||
var d = [
|
||||
'M', start.x, start.y,
|
||||
'A', radius, radius, 0, largeArcFlag, 0, end.x, end.y
|
||||
];
|
||||
];
|
||||
return d.join(' ');
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ export default class CircularProgress extends React.PureComponent {
|
||||
d={backgroundPath}
|
||||
stroke={backgroundColor}
|
||||
strokeWidth={backgroundWidth || width}
|
||||
strokeCap={lineCap}
|
||||
strokeLinecap={lineCap}
|
||||
fill="transparent"
|
||||
/>
|
||||
)}
|
||||
@ -76,7 +76,7 @@ export default class CircularProgress extends React.PureComponent {
|
||||
d={circlePath}
|
||||
stroke={tintColor}
|
||||
strokeWidth={width}
|
||||
strokeCap={lineCap}
|
||||
strokeLinecap={lineCap}
|
||||
fill="transparent"
|
||||
/>
|
||||
</G>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user