From 5af917e76395782df137d0fc86ce9fe227253767 Mon Sep 17 00:00:00 2001 From: kit Date: Fri, 27 Sep 2024 22:25:41 -0400 Subject: [PATCH] Fix mouse clamping in Animation Bezier box select --- editor/animation_bezier_editor.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp index 2e8c727849e..8d7c6a1f16f 100644 --- a/editor/animation_bezier_editor.cpp +++ b/editor/animation_bezier_editor.cpp @@ -1501,11 +1501,6 @@ void AnimationBezierTrackEdit::gui_input(const Ref &p_event) { } box_selection_to = mm->get_position(); - - if (get_local_mouse_position().y < 0) { - // Avoid cursor from going too above, so it does not lose focus with viewport. - warp_mouse(Vector2(get_local_mouse_position().x, 0)); - } queue_redraw(); }