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

@@ -1930,6 +1930,18 @@ namespace FlaxEditor.GUI.Timeline
}
}
/// <summary>
/// Sets the text for the No Tracks UI.
/// </summary>
/// <param name="text">The text.</param>
public void SetNoTracksText(string text)
{
if (_noTracksLabel != null)
{
_noTracksLabel.Text = text ?? "No tracks";
}
}
/// <inheritdoc />
protected override void PerformLayoutBeforeChildren()
{