浏览代码

Merge pull request #19882 from khairul169/trackedit_playposition

Hide play position in animation editor if no animation node is selected
Rémi Verschelde 7 年之前
父节点
当前提交
db97731932
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      editor/animation_track_editor.cpp

+ 2 - 0
editor/animation_track_editor.cpp

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