mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Display a non-parallax background at the appropriate size when storyboards do not replace it.
This commit is contained in:
@ -12,6 +12,8 @@ namespace osu.Game.Storyboards
|
||||
private readonly Dictionary<string, StoryboardLayer> layers = new Dictionary<string, StoryboardLayer>();
|
||||
public IEnumerable<StoryboardLayer> Layers => layers.Values;
|
||||
|
||||
public bool HasDrawable => Layers.Any(l => l.Elements.Any(e => e.IsDrawable));
|
||||
|
||||
public Storyboard()
|
||||
{
|
||||
layers.Add("Background", new StoryboardLayer("Background", 3));
|
||||
|
Reference in New Issue
Block a user