Mouse ptr reappears at drag start position

This commit is contained in:
amor 2021-05-23 10:48:26 +05:30
parent 45d3b965bb
commit 2c745e0e95

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