Skip to content
This repository has been archived by the owner on Nov 18, 2019. It is now read-only.

Add onMouseleave event #65

Open
FabienCharlet opened this issue Aug 24, 2017 · 1 comment · May be fixed by #66
Open

Add onMouseleave event #65

FabienCharlet opened this issue Aug 24, 2017 · 1 comment · May be fixed by #66

Comments

@FabienCharlet
Copy link

First, thanks for your work !

I want to report a problem when you start to draw a signature in the canvas and release the mouse outside the canvas.
The line is not saved.

Simply add ng-mouseleave="onMouseup()" in the canvas declaration to fix the problem :)

@adrogon adrogon linked a pull request Sep 4, 2017 that will close this issue
@adrogon
Copy link

adrogon commented Sep 4, 2017

Thank you for your idea, implemented it under #66.
Also checks whether the left button is depressed, so that onMouseup() is not executed by simply mouseovering the canvas.

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

Successfully merging a pull request may close this issue.

2 participants