mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Improve naming
This commit is contained in:
@ -26,7 +26,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
|
||||
private Bindable<User> user;
|
||||
private Bindable<Skin> skin;
|
||||
private Bindable<BackgroundMode> mode;
|
||||
private Bindable<BackgroundSource> mode;
|
||||
|
||||
[Resolved]
|
||||
private IBindable<WorkingBeatmap> beatmap { get; set; }
|
||||
@ -41,7 +41,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
{
|
||||
user = api.LocalUser.GetBoundCopy();
|
||||
skin = skinManager.CurrentSkin.GetBoundCopy();
|
||||
mode = config.GetBindable<BackgroundMode>(OsuSetting.BackgroundMode);
|
||||
mode = config.GetBindable<BackgroundSource>(OsuSetting.MenuBackgroundSource);
|
||||
|
||||
user.ValueChanged += _ => Next();
|
||||
skin.ValueChanged += _ => Next();
|
||||
@ -78,7 +78,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
{
|
||||
switch (mode.Value)
|
||||
{
|
||||
case BackgroundMode.Beatmap:
|
||||
case BackgroundSource.Beatmap:
|
||||
newBackground = new BeatmapBackground(beatmap.Value, backgroundName);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user