Skip to content

Subscribe "cancel" event to set firstDragDone = false #210

@richardkc

Description

@richardkc

Hi, I had custom rect tool and limit it's minWidth and minHeight, such like:

image

but only had subscribed "complete" event to set "firstDragDone = false" now. Is it possible to add "cancel" event, or determine "shape" before execute "this.onDrawingComplete(shape)"?

image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions