diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-16 14:16:04 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-16 14:16:04 -0500 |
commit | 324659f0ca646a8ca1da32bcbdb485ba33a34189 (patch) | |
tree | 75f15cf4b8452c2dea8e2afb4ec2fae49fa926ac | |
parent | e4093b558a24f42362574de40441d7bfa94db24b (diff) | |
parent | 5af917e76395782df137d0fc86ce9fe227253767 (diff) | |
download | redot-engine-324659f0ca646a8ca1da32bcbdb485ba33a34189.tar.gz |
Merge pull request #97564 from kitbdev/animation-bezier-editor-fix-box-select-mouse
Fix mouse clamping in Animation Bezier Editor box select
-rw-r--r-- | editor/animation_bezier_editor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp index 2e8c727849..8d7c6a1f16 100644 --- a/editor/animation_bezier_editor.cpp +++ b/editor/animation_bezier_editor.cpp @@ -1501,11 +1501,6 @@ void AnimationBezierTrackEdit::gui_input(const Ref<InputEvent> &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(); } |