mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
Move StoryboardReplacesBackground and StoryboardAspect properties to Storyboard.
This commit is contained in:
@ -83,7 +83,9 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
storyboard = working.Beatmap.Storyboard.CreateDrawable();
|
||||
storyboard.Passing = false;
|
||||
if (!working.Beatmap.StoryboardReplacesBackground)
|
||||
|
||||
var beatmap = working.Beatmap;
|
||||
if (!beatmap.Storyboard.ReplacesBackground(beatmap.BeatmapInfo))
|
||||
storyboard.BackgroundTexture = working.Background;
|
||||
|
||||
storyboardContainer.Add(storyboard);
|
||||
|
Reference in New Issue
Block a user