Hide play position if animation node is invalid

This commit is contained in:
khairul169 2018-07-01 16:10:20 +07:00
parent 3852c5f8a0
commit 0f616ff5d8

View file

@ -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();