Merge pull request #97564 from kitbdev/animation-bezier-editor-fix-box-select-mouse

Fix mouse clamping in Animation Bezier Editor box select
This commit is contained in:
Thaddeus Crews 2024-10-16 14:16:04 -05:00
commit 324659f0ca
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -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();
}