Merge pull request #48980 from amoriqbal/patch-1
Mouse pointer reappears at same spot
This commit is contained in:
commit
ad72f3c04e
|
@ -70,6 +70,7 @@ void EditorSpinSlider::_gui_input(const Ref<InputEvent> &p_event) {
|
||||||
grabbing_spinner_dist_cache = 0;
|
grabbing_spinner_dist_cache = 0;
|
||||||
pre_grab_value = get_value();
|
pre_grab_value = get_value();
|
||||||
grabbing_spinner = false;
|
grabbing_spinner = false;
|
||||||
|
grabbing_spinner_mouse_pos = get_global_mouse_position();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (grabbing_spinner_attempt) {
|
if (grabbing_spinner_attempt) {
|
||||||
|
|
Loading…
Reference in New Issue