mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Add stable sorting of storyboard elements
This commit is contained in:
@ -13,8 +13,7 @@ namespace osu.Game.Storyboards
|
||||
public bool EnabledWhenPassing = true;
|
||||
public bool EnabledWhenFailing = true;
|
||||
|
||||
private readonly List<IStoryboardElement> elements = new List<IStoryboardElement>();
|
||||
public IEnumerable<IStoryboardElement> Elements => elements;
|
||||
public List<IStoryboardElement> Elements = new List<IStoryboardElement>();
|
||||
|
||||
public StoryboardLayer(string name, int depth)
|
||||
{
|
||||
@ -24,7 +23,7 @@ namespace osu.Game.Storyboards
|
||||
|
||||
public void Add(IStoryboardElement element)
|
||||
{
|
||||
elements.Add(element);
|
||||
Elements.Add(element);
|
||||
}
|
||||
|
||||
public DrawableStoryboardLayer CreateDrawable()
|
||||
|
Reference in New Issue
Block a user