mirror of
https://github.com/osukey/osukey.git
synced 2025-05-20 04:57:38 +09:00
remove Seasonal and apply suggestions
This commit is contained in:
parent
03947e5b85
commit
0bc59e17dc
@ -6,7 +6,6 @@ namespace osu.Game.Configuration
|
|||||||
public enum BackgroundMode
|
public enum BackgroundMode
|
||||||
{
|
{
|
||||||
Default,
|
Default,
|
||||||
Seasonal,
|
|
||||||
Beatmap
|
Beatmap
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -155,13 +155,11 @@ namespace osu.Game.Graphics.Containers
|
|||||||
|
|
||||||
private class ScalingBackgroundScreen : BackgroundScreenDefault
|
private class ScalingBackgroundScreen : BackgroundScreenDefault
|
||||||
{
|
{
|
||||||
private Bindable<WorkingBeatmap> beatmap;
|
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(IBindable<WorkingBeatmap> beatmap)
|
private void load(IBindable<WorkingBeatmap> beatmap)
|
||||||
{
|
{
|
||||||
this.beatmap = (Bindable<WorkingBeatmap>)beatmap;
|
beatmap.ValueChanged += _ => Next();
|
||||||
this.beatmap.ValueChanged += _ => Next();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnEntering(IScreen last)
|
public override void OnEntering(IScreen last)
|
||||||
|
@ -87,15 +87,7 @@ namespace osu.Game.Screens.Backgrounds
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
newBackground = new Background(backgroundName);
|
||||||
switch (mode.Value)
|
|
||||||
{
|
|
||||||
case BackgroundMode.Seasonal:
|
|
||||||
default:
|
|
||||||
newBackground = new Background(backgroundName);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
newBackground.Depth = currentDisplay;
|
newBackground.Depth = currentDisplay;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user