Add loading info text when opening scene animation window

This commit is contained in:
Wojtek Figat
2021-07-30 15:04:26 +02:00
parent 25487c17e3
commit e1cac0b779
2 changed files with 14 additions and 0 deletions

View File

@@ -632,6 +632,7 @@ namespace FlaxEditor.Windows.Assets
};
_timeline.Modified += OnTimelineModified;
_timeline.PlayerChanged += OnTimelinePlayerChanged;
_timeline.SetNoTracksText("Loading...");
// Toolstrip
_saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save");
@@ -857,6 +858,7 @@ namespace FlaxEditor.Windows.Assets
// Setup
_undo.Clear();
_timeline.SetNoTracksText(null);
_timeline.Enabled = true;
ClearEditedFlag();
}