Skip to content

Commit 324659f

Browse files
committed
Merge pull request godotengine#97564 from kitbdev/animation-bezier-editor-fix-box-select-mouse
Fix mouse clamping in Animation Bezier Editor box select
2 parents e4093b5 + 5af917e commit 324659f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

editor/animation_bezier_editor.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,11 +1501,6 @@ void AnimationBezierTrackEdit::gui_input(const Ref<InputEvent> &p_event) {
15011501
}
15021502

15031503
box_selection_to = mm->get_position();
1504-
1505-
if (get_local_mouse_position().y < 0) {
1506-
// Avoid cursor from going too above, so it does not lose focus with viewport.
1507-
warp_mouse(Vector2(get_local_mouse_position().x, 0));
1508-
}
15091504
queue_redraw();
15101505
}
15111506

0 commit comments

Comments
 (0)