Rename background sprite and reduce load delay

This commit is contained in:
Dean Herbert 2021-08-13 15:24:53 +09:00
parent 5cec50bdd1
commit 3b6a8a2bae

View File

@ -108,7 +108,7 @@ namespace osu.Game.Screens.OnlinePlay
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
BlurSigma = new Vector2(10), BlurSigma = new Vector2(10),
Child = new HeaderBackgroundSprite Child = new BeatmapBackgroundSprite
{ {
RelativeSizeAxes = Axes.Both RelativeSizeAxes = Axes.Both
} }
@ -304,13 +304,13 @@ namespace osu.Game.Screens.OnlinePlay
} }
} }
private class HeaderBackgroundSprite : OnlinePlayBackgroundSprite private class BeatmapBackgroundSprite : OnlinePlayBackgroundSprite
{ {
protected override UpdateableBeatmapBackgroundSprite CreateBackgroundSprite() => new BackgroundSprite { RelativeSizeAxes = Axes.Both }; protected override UpdateableBeatmapBackgroundSprite CreateBackgroundSprite() => new BackgroundSprite { RelativeSizeAxes = Axes.Both };
private class BackgroundSprite : UpdateableBeatmapBackgroundSprite private class BackgroundSprite : UpdateableBeatmapBackgroundSprite
{ {
protected override double TransformDuration => 200; protected override double LoadDelay => 200;
} }
} }