Refactor tracks properties to public

This commit is contained in:
Wojtek Figat
2021-08-26 11:37:56 +02:00
parent b85521decd
commit ba09d9111e
4 changed files with 9 additions and 9 deletions

View File

@@ -708,17 +708,17 @@ namespace FlaxEditor.GUI.Timeline
/// <summary>
/// Gets a value indicating whether user can drag this track.
/// </summary>
protected virtual bool CanDrag => true;
public virtual bool CanDrag => true;
/// <summary>
/// Gets a value indicating whether user can rename this track.
/// </summary>
protected virtual bool CanRename => true;
public virtual bool CanRename => true;
/// <summary>
/// Gets a value indicating whether user can expand the track contents of the inner hierarchy.
/// </summary>
protected virtual bool CanExpand => SubTracks.Count > 0;
public virtual bool CanExpand => SubTracks.Count > 0;
/// <summary>
/// Determines whether this track can get the child track.