Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Should strokeWidth = 0 cause no stroke to render? #66

Open
@ThomWright

Description

@ThomWright

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions