diff options
author | DNKpp <dnkpp2011@gmail.com> | 2022-07-29 00:55:33 +0200 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2022-09-30 14:34:10 +0200 |
commit | 1dd75ef660b1b5777f360014dcaf8a4243f8edd7 (patch) | |
tree | 7b456b6da2e27cd1162508b94cf4ce4340441499 | |
parent | 166df0896c4e601c58f7261145afba5ee4a088a5 (diff) |
EditorSpinSlider: Make sure grabber doesn't get hidden during grabbing
Fixes #63544.
-rw-r--r-- | editor/editor_spin_slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 4cd046e811..5edb6d877c 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -398,7 +398,7 @@ void EditorSpinSlider::_draw_spin_slider() { grabbing_spinner_mouse_pos = get_global_position() + grabber_rect.get_center(); - bool display_grabber = (mouse_over_spin || mouse_over_grabber) && !grabbing_spinner && !(value_input_popup && value_input_popup->is_visible()); + bool display_grabber = (grabbing_grabber || mouse_over_spin || mouse_over_grabber) && !grabbing_spinner && !(value_input_popup && value_input_popup->is_visible()); if (grabber->is_visible() != display_grabber) { if (display_grabber) { grabber->show(); |