From 3af4eb9207569a751704ba72bb8b5ab4da3a733b Mon Sep 17 00:00:00 2001 From: Mounir Tohami <53877170+WhalesState@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:59:12 +0000 Subject: [PATCH] Fix animation `bezierEditor` uses only half the view. --- editor/animation_track_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 9373a45475f..07b7c34a103 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -5843,7 +5843,7 @@ void AnimationTrackEditor::_zoom_callback(float p_zoom_factor, Vector2 p_origin, void AnimationTrackEditor::_cancel_bezier_edit() { bezier_edit->hide(); - scroll->show(); + box_selection_container->show(); bezier_edit_icon->set_pressed(false); auto_fit->show(); auto_fit_bezier->hide(); @@ -5853,7 +5853,7 @@ void AnimationTrackEditor::_bezier_edit(int p_for_track) { _clear_selection(); // Bezier probably wants to use a separate selection mode. bezier_edit->set_root(root); bezier_edit->set_animation_and_track(animation, p_for_track, read_only); - scroll->hide(); + box_selection_container->hide(); bezier_edit->show(); auto_fit->hide(); auto_fit_bezier->show();