Hide play position if animation node is invalid
This commit is contained in:
parent
3852c5f8a0
commit
0f616ff5d8
1 changed files with 2 additions and 0 deletions
|
@ -874,9 +874,11 @@ void AnimationTimelineEdit::set_animation(const Ref<Animation> &p_animation) {
|
|||
if (animation.is_valid()) {
|
||||
len_hb->show();
|
||||
add_track->show();
|
||||
play_position->show();
|
||||
} else {
|
||||
len_hb->hide();
|
||||
add_track->hide();
|
||||
play_position->hide();
|
||||
}
|
||||
update();
|
||||
update_values();
|
||||
|
|
Loading…
Reference in a new issue