Move StoryboardReplacesBackground and StoryboardAspect properties to Storyboard.

This commit is contained in:
Damnae
2017-09-25 10:40:22 +02:00
parent 2c245f4c22
commit 0996867112
5 changed files with 21 additions and 19 deletions

View File

@ -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);