Improve dragging behavior of editor_spin_slider

Fixes issues with changing the size or position of a Rect. Fixes #23011
This commit is contained in:
Ryan Schmitt 2018-11-08 19:48:44 -08:00
parent da1f53c8d9
commit e890a7d627
2 changed files with 5 additions and 2 deletions

View file

@ -59,6 +59,7 @@ class EditorSpinSlider : public Range {
bool read_only;
float grabbing_spinner_dist_cache;
Vector2 grabbing_spinner_mouse_pos;
double pre_grab_value;
LineEdit *value_input;
bool value_input_just_closed;