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:
Emmanuel Barroga 2019-08-13 03:11:24 -07:00
parent 4403744ef9
commit e89c4c22de
2 changed files with 28 additions and 2 deletions

View file

@ -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;