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:
commit
db97731932
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…
Add table
Reference in a new issue