diff options
author | amor <amoriqbalmail@gmail.com> | 2021-05-23 10:48:26 +0530 |
---|---|---|
committer | amor <amoriqbalmail@gmail.com> | 2021-05-23 10:48:26 +0530 |
commit | 2c745e0e9587031f93c572dd5ad66fa577e10a1f (patch) | |
tree | ad841499b73ce0b5d36afbef83a87f09764796ec /editor | |
parent | 45d3b965bb55f3111478306070034ed18e8fa5e4 (diff) |
Mouse ptr reappears at drag start position
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_spin_slider.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<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) { |