mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add scrollwheel input to spin slider
Adds the ability to adjust the editor's spin slider using the mouse scrollwheel.
This commit is contained in:
parent
4403744ef9
commit
e89c4c22de
2 changed files with 28 additions and 2 deletions
|
|
@ -48,6 +48,7 @@ class EditorSpinSlider : public Range {
|
|||
|
||||
bool mouse_over_spin;
|
||||
bool mouse_over_grabber;
|
||||
bool mousewheel_over_grabber;
|
||||
|
||||
bool grabbing_grabber;
|
||||
int grabbing_from;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue