Merge pull request #81606 from jsjtxietian/hide-animation-tool--correctly-when-switching-scenes
Hide animation toolbar above the viewport correctly when switching scenes
This commit is contained in:
commit
2febb246e1
1 changed files with 1 additions and 1 deletions
|
@ -3991,7 +3991,7 @@ void CanvasItemEditor::_notification(int p_what) {
|
|||
select_sb->set_texture_margin_all(4);
|
||||
select_sb->set_content_margin_all(4);
|
||||
|
||||
AnimationPlayerEditor::get_singleton()->get_track_editor()->connect("visibility_changed", callable_mp(this, &CanvasItemEditor::_keying_changed));
|
||||
AnimationPlayerEditor::get_singleton()->get_track_editor()->connect("keying_changed", callable_mp(this, &CanvasItemEditor::_keying_changed));
|
||||
AnimationPlayerEditor::get_singleton()->connect("animation_selected", callable_mp(this, &CanvasItemEditor::_keying_changed).unbind(1));
|
||||
_keying_changed();
|
||||
_update_editor_settings();
|
||||
|
|
Loading…
Reference in a new issue