react-art
react-art copied to clipboard
Should strokeWidth = 0 cause no stroke to render?
I expected setting strokeWidth={0} to cause no stroke to be rendered (even when stroke color is set).
However, the canvas draws it anyway because it doesn't accept a lineWidth of 0 (see here).
Here _stroke is only set when color is set. Could we add an extra condition so that it also checks for width > 0?
Yea, this seems like a bug.