Mouse ptr reappears at drag start position
This commit is contained in:
parent
45d3b965bb
commit
2c745e0e95
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ void EditorSpinSlider::_gui_input(const Ref<InputEvent> &p_event) {
|
|||
grabbing_spinner_dist_cache = 0;
|
||||
pre_grab_value = get_value();
|
||||
grabbing_spinner = false;
|
||||
grabbing_spinner_mouse_pos = get_global_mouse_position();
|
||||
}
|
||||
} else {
|
||||
if (grabbing_spinner_attempt) {
|
||||
|
|
Loading…
Reference in a new issue