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

Remove mouse listeners when program is stopped #61

Open
4 tasks
lawruble13 opened this issue Nov 5, 2020 · 0 comments
Open
4 tasks

Remove mouse listeners when program is stopped #61

lawruble13 opened this issue Nov 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lawruble13
Copy link
Contributor

lawruble13 commented Nov 5, 2020

Mouse listeners will cause a cell to become active when the drawing is moused-over, even after drawing is complete.
AC

  • Remove mouse listeners on Canvas object when drawing is completed
    • Remove ipycanvas mousemoved, mousedown, and mouseup listeneners
    • Remove ipyevents mouseover and mouseout listeners
  • Keep most recently drawn frame on screen (listeners can be removed with self.canvas.close, but this removes the last drawn frame)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant