diff --git a/editor/gui/editor_spin_slider.cpp b/editor/gui/editor_spin_slider.cpp index 6d02fcef1df..451827da09c 100644 --- a/editor/gui/editor_spin_slider.cpp +++ b/editor/gui/editor_spin_slider.cpp @@ -106,7 +106,7 @@ void EditorSpinSlider::gui_input(const Ref &p_event) { } grabbing_spinner_dist_cache += diff_x * grabbing_spinner_speed; - if (!grabbing_spinner && ABS(grabbing_spinner_dist_cache) > 4 * EDSCALE) { + if (!grabbing_spinner && ABS(grabbing_spinner_dist_cache) > 4 * grabbing_spinner_speed * EDSCALE) { Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_CAPTURED); grabbing_spinner = true; }