Merge pull request #19882 from khairul169/trackedit_playposition

Hide play position in animation editor if no animation node is selected
This commit is contained in:
Rémi Verschelde 2018-07-04 15:03:39 +02:00 committed by GitHub
commit db97731932
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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