Merge pull request #48980 from amoriqbal/patch-1

Mouse pointer reappears at same spot
This commit is contained in:
Rémi Verschelde 2021-05-23 17:24:24 +02:00 committed by GitHub
commit ad72f3c04e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {