-
-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
Describe the bug
When trying to zoom with the mouse wheel, an exception is raised in the check for a menu item (or something ?)
path is undefined.
To Reproduce
Steps to reproduce the behavior:
- Open the editor
- Open the developer console of the browser
- Scroll with the mouse wheel on the canvas
- See error
TypeError: mouseEvent.path is undefined
Expected behavior
Zooming (also I am not sure what is the point of view on zoom right now, seeing #103)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox
- Version: 108
Additional context
The mouseEvent object should be a WheelEvent.
There is no such path attribute documented, I don't know where it is supposed to come from.
Note that I tried to comment this line (and the one below) in a development instance of the app (on current master, namely 5d55425) and the zoom worked as expected.
Metadata
Metadata
Assignees
Labels
No labels