Merge pull request #42387 from KoBeWi/warp_no_mouse

Don't warp mouse when selecting tracks
This commit is contained in:
Rémi Verschelde 2020-09-30 09:35:13 +02:00 committed by GitHub
commit 1b3d85e8bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -4959,11 +4959,6 @@ void AnimationTrackEditor::_scroll_input(const Ref<InputEvent> &p_event) {
box_selection->set_size(rect.size);
box_select_rect = rect;
if (get_local_mouse_position().y < 0) {
//avoid box selection from going up and lose focus to viewport
warp_mouse(Vector2(mm->get_position().x, 0));
}
}
}