Skip to content

Refactor: Move brush hover preview to separate component #6

Description

@oixel

Can pass in the isHovering as a bindable property to the canvas and then also pass it into the HoverPreview component to only render out when it is true. Additionally, you can allow for a style prop to be passed in so that whenever a brush is chosen, the design prop can be grabbed from the brush's object and passed into the preview.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorA suggestion that could improve the code base

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions