Fix mouse clamping in Animation Bezier box select

This commit is contained in:
kit 2024-09-27 22:25:41 -04:00
parent 76a135926a
commit 5af917e763
1 changed files with 0 additions and 5 deletions

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