Skip to content

Commit

Permalink
Mouse ptr reappears at drag start position
Browse files Browse the repository at this point in the history
  • Loading branch information
amoriqbal committed May 23, 2021
1 parent 45d3b96 commit 2c745e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/editor_spin_slider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2c745e0

Please sign in to comment.