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.

View File

@@ -525,13 +525,13 @@ namespace FlaxEditor.GUI.Timeline.Tracks
}
/// <inheritdoc />
protected override bool CanDrag => false;
public override bool CanDrag => false;
/// <inheritdoc />
protected override bool CanRename => false;
public override bool CanRename => false;
/// <inheritdoc />
protected override bool CanExpand => true;
public override bool CanCopyPaste => false;
/// <inheritdoc />
public override void OnParentTrackChanged(Track parent)

View File

@@ -336,7 +336,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
}
/// <inheritdoc />
protected override bool CanExpand => true;
public override bool CanExpand => true;
/// <inheritdoc />
protected override void OnMemberChanged(MemberInfo value, Type type)

View File

@@ -283,10 +283,10 @@ namespace FlaxEditor.GUI.Timeline.Tracks
}
/// <inheritdoc />
protected override bool CanDrag => false;
public override bool CanDrag => false;
/// <inheritdoc />
protected override bool CanRename => false;
public override bool CanRename => false;
/// <summary>
/// Called when member gets changed.