From 2c745e0e9587031f93c572dd5ad66fa577e10a1f Mon Sep 17 00:00:00 2001 From: amor Date: Sun, 23 May 2021 10:48:26 +0530 Subject: Mouse ptr reappears at drag start position --- editor/editor_spin_slider.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/editor_spin_slider.cpp') diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 942a2d35ab..657dcfa760 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -70,6 +70,7 @@ void EditorSpinSlider::_gui_input(const Ref &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) { -- cgit v1.2.3