Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
richardkc opened this issue Dec 17, 2024 · 0 comments
Open

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

richardkc opened this issue Dec 17, 2024 · 0 comments

Comments

@richardkc
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant