Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: volume slider behavior in music gui #7209
In master, moving the mouse away from the widget stops all further response, and you need to click and drag again to change volume.
As it stands, this PR makes the sliders continue to respond if you move the mouse away from the widget and then back.
I think it would be better if the sliders continued to respond whilst the cursor is off the widget, until dragging is stopped.
In the music gui, the volume sliders don't respond to mouse drags that extend outside of their small area. This changes the event code to give them more typical dragging behavior that's easier to work with.
Good point.. It looks like scrollbar dragging is handled in window.cpp's
It might be appropriate to add a
Though, that may add some complexity, as we'll still want to do the actual volume-setting in