clock: always draw large arc

This commit is contained in:
Tyler Brown Cifu Shuster 2020-10-23 08:24:06 -07:00
parent d8c83f886f
commit 92d4973eb0

View File

@ -107,7 +107,7 @@ const SvgArc = ({ start, end, ...rest }) => {
const d = [ const d = [
'M', CX, CY, 'M', CX, CY,
'L', x1, y1, 'L', x1, y1,
'A', RADIUS, RADIUS, '0', (isLarge ? '1' : '0'), '1', x2, y2, 'z' 'A', RADIUS, RADIUS, '0', '1', '1', x2, y2, 'z'
].join(' '); ].join(' ');
return <path d={d} {...rest} />; return <path d={d} {...rest} />;