Makie.jl
Makie.jl copied to clipboard
Unintuitive behavior mouse events with axis
- [0.8.8 ] are you running newest version (version from docs) ?
I'm not 100% sure this is a bug, but I've found the mouse events for axis quite hard to use and understand. I want to run a function when I start dragging on the axis and another one when I stop dragging, running the function on left mouse down and the second one on leftmouseup would suffice.
However, onmouseleftup only registers when the mouse is not moved between clicking and releasing, which seems unintuitive to me. I would expect it to register whenever the left mouse button is released on the axis. The onleftmousedrag also doesn't work as expected, it only starts registering a drag AFTER I first hold the left button, move it around, then release it. After I do this, if I move the mouse it will start registering a drag as long as I move the mouse, until I click again on the axis.
For onmouseleftdragstart and onmouseleftdragend I find it hard to even describe when they register. Am I just completely misunderstanding things or is this not how it's supposed to work?