Hide play position if animation node is invalid
This commit is contained in:
@ -874,9 +874,11 @@ void AnimationTimelineEdit::set_animation(const Ref<Animation> &p_animation) {
|
|||||||
if (animation.is_valid()) {
|
if (animation.is_valid()) {
|
||||||
len_hb->show();
|
len_hb->show();
|
||||||
add_track->show();
|
add_track->show();
|
||||||
|
play_position->show();
|
||||||
} else {
|
} else {
|
||||||
len_hb->hide();
|
len_hb->hide();
|
||||||
add_track->hide();
|
add_track->hide();
|
||||||
|
play_position->hide();
|
||||||
}
|
}
|
||||||
update();
|
update();
|
||||||
update_values();
|
update_values();
|
||||||
|
|||||||
Reference in New Issue
Block a user