mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Apply beatmap settings when creating the DrawableStoryboard.
This commit is contained in:
@ -81,13 +81,9 @@ namespace osu.Game.Tests.Visual
|
||||
var decoupledClock = new DecoupleableInterpolatingFramedClock { IsCoupled = true };
|
||||
storyboardContainer.Clock = decoupledClock;
|
||||
|
||||
storyboard = working.Beatmap.Storyboard.CreateDrawable();
|
||||
storyboard = working.Beatmap.Storyboard.CreateDrawable(beatmapBacking);
|
||||
storyboard.Passing = false;
|
||||
|
||||
var beatmap = working.Beatmap;
|
||||
if (!beatmap.Storyboard.ReplacesBackground(beatmap.BeatmapInfo))
|
||||
storyboard.BackgroundTexture = working.Background;
|
||||
|
||||
storyboardContainer.Add(storyboard);
|
||||
decoupledClock.ChangeSource(working.Track);
|
||||
}
|
||||
|
Reference in New Issue
Block a user