BeatmapSelectionBackgroundBlurLevel renamed to SongSelectBackgroundBlurLevel

This commit is contained in:
Jeremiah DECOMBE
2023-01-24 00:08:11 +01:00
parent 26adc28943
commit b573e42cc2
4 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ namespace osu.Game.Configuration
SetDefault(OsuSetting.ToolbarClockDisplayMode, ToolbarClockDisplayMode.Full); SetDefault(OsuSetting.ToolbarClockDisplayMode, ToolbarClockDisplayMode.Full);
SetDefault(OsuSetting.BeatmapSelectionBackgoundBlurLevel, 1f, 0, 1f, 0.01f); SetDefault(OsuSetting.SongSelectBackgoundBlurLevel, 1f, 0, 1f, 0.01f);
// Online settings // Online settings
SetDefault(OsuSetting.Username, string.Empty); SetDefault(OsuSetting.Username, string.Empty);
@ -341,7 +341,7 @@ namespace osu.Game.Configuration
ChatDisplayHeight, ChatDisplayHeight,
BeatmapListingCardSize, BeatmapListingCardSize,
ToolbarClockDisplayMode, ToolbarClockDisplayMode,
BeatmapSelectionBackgoundBlurLevel, SongSelectBackgoundBlurLevel,
Version, Version,
ShowFirstRunSetup, ShowFirstRunSetup,
ShowConvertedBeatmaps, ShowConvertedBeatmaps,

View File

@ -112,7 +112,7 @@ namespace osu.Game.Localisation
/// <summary> /// <summary>
/// "Song select background blur" /// "Song select background blur"
/// </summary> /// </summary>
public static LocalisableString BeatmapSelectionBackgroundBlurLevel => new TranslatableString(getKey(@"beatmap_selection_background_blur_level"), @"Song select background blur"); public static LocalisableString SongSelectBackgroundBlurLevel => new TranslatableString(getKey(@"song_select_background_blur_level"), @"Song select background blur");
/// <summary> /// <summary>
/// "no limit" /// "no limit"

View File

@ -45,8 +45,8 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
}, },
new SettingsSlider<float> new SettingsSlider<float>
{ {
LabelText = UserInterfaceStrings.BeatmapSelectionBackgroundBlurLevel, LabelText = UserInterfaceStrings.SongSelectBackgroundBlurLevel,
Current = config.GetBindable<float>(OsuSetting.BeatmapSelectionBackgoundBlurLevel) Current = config.GetBindable<float>(OsuSetting.SongSelectBackgoundBlurLevel)
} }
}; };
} }

View File

@ -144,7 +144,7 @@ namespace osu.Game.Screens.Select
[BackgroundDependencyLoader(true)] [BackgroundDependencyLoader(true)]
private void load(AudioManager audio, OsuColour colours, ManageCollectionsDialog? manageCollectionsDialog, DifficultyRecommender? recommender, OsuConfigManager config) private void load(AudioManager audio, OsuColour colours, ManageCollectionsDialog? manageCollectionsDialog, DifficultyRecommender? recommender, OsuConfigManager config)
{ {
backgroundBlurLevel = config.GetBindable<float>(OsuSetting.BeatmapSelectionBackgoundBlurLevel); backgroundBlurLevel = config.GetBindable<float>(OsuSetting.SongSelectBackgoundBlurLevel);
LoadComponentAsync(Carousel = new BeatmapCarousel LoadComponentAsync(Carousel = new BeatmapCarousel
{ {