The function only checks if the mouse is on the current chatfield or the window that pops up to confirm whether you want to run code in a JavaScript link.
Expected behaviour:
Using the scroll wheel while the mouse is on non-canvas elements does not pan the canvas.
Observed behaviour:
Using the scroll wheel while the mouse is on GUI elements other than the chatfield and JavaScript confirmation also pans the canvas.
On line 3959 ~ 3960 of /frontend/static/yw/javascript/owot.js:
The function only checks if the mouse is on the current chatfield or the window that pops up to confirm whether you want to run code in a JavaScript link. Expected behaviour: Using the scroll wheel while the mouse is on non-canvas elements does not pan the canvas. Observed behaviour: Using the scroll wheel while the mouse is on GUI elements other than the chatfield and JavaScript confirmation also pans the canvas.