diff --git a/Source/Editor/GUI/Timeline/Track.cs b/Source/Editor/GUI/Timeline/Track.cs index 561b5fe3f..fc730484d 100644 --- a/Source/Editor/GUI/Timeline/Track.cs +++ b/Source/Editor/GUI/Timeline/Track.cs @@ -708,17 +708,17 @@ namespace FlaxEditor.GUI.Timeline /// /// Gets a value indicating whether user can drag this track. /// - protected virtual bool CanDrag => true; + public virtual bool CanDrag => true; /// /// Gets a value indicating whether user can rename this track. /// - protected virtual bool CanRename => true; + public virtual bool CanRename => true; /// /// Gets a value indicating whether user can expand the track contents of the inner hierarchy. /// - protected virtual bool CanExpand => SubTracks.Count > 0; + public virtual bool CanExpand => SubTracks.Count > 0; /// /// Determines whether this track can get the child track. diff --git a/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs b/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs index 2aed48ee0..6ad3e95bc 100644 --- a/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs +++ b/Source/Editor/GUI/Timeline/Tracks/AudioTrack.cs @@ -525,13 +525,13 @@ namespace FlaxEditor.GUI.Timeline.Tracks } /// - protected override bool CanDrag => false; + public override bool CanDrag => false; /// - protected override bool CanRename => false; + public override bool CanRename => false; /// - protected override bool CanExpand => true; + public override bool CanCopyPaste => false; /// public override void OnParentTrackChanged(Track parent) diff --git a/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs b/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs index 7c7c9d9af..1bfc18f9b 100644 --- a/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs +++ b/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs @@ -336,7 +336,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks } /// - protected override bool CanExpand => true; + public override bool CanExpand => true; /// protected override void OnMemberChanged(MemberInfo value, Type type) diff --git a/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs b/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs index ebe2efaf6..5b9ffadd2 100644 --- a/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs +++ b/Source/Editor/GUI/Timeline/Tracks/MemberTrack.cs @@ -283,10 +283,10 @@ namespace FlaxEditor.GUI.Timeline.Tracks } /// - protected override bool CanDrag => false; + public override bool CanDrag => false; /// - protected override bool CanRename => false; + public override bool CanRename => false; /// /// Called when member gets changed.