progress icon indicating copy to clipboard operation
progress copied to clipboard

fix(line): hide when length subpath is zero

Open SaidMarar opened this issue 2 years ago • 1 comments

This fix #133

As mentioned in MDN: stroke-linecap it is the expected behavior of svg stroke-linecap for both round and square.

The round value indicates that at the end of each subpath the stroke will be extended by a half circle with a diameter equal to the stroke width. On a zero length subpath, the stroke consists of a full circle centered at the subpath's point.

The square value indicates that at the end of each subpath the stroke will be extended by a rectangle with a width equal to half the width of the stroke and a height equal to the width of the stroke. On a zero length subpath, the stroke consists of a square with its width equal to the stroke width, centered at the subpath's point.

SaidMarar avatar Dec 29 '22 11:12 SaidMarar

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
progress ❌ Failed (Inspect) Dec 29, 2022 at 11:35AM (UTC)

vercel[bot] avatar Dec 29 '22 11:12 vercel[bot]