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 @@ protected override void InitialiseDefaults()
SetDefault(OsuSetting.ToolbarClockDisplayMode, ToolbarClockDisplayMode.Full);
SetDefault(OsuSetting.BeatmapSelectionBackgoundBlurLevel, 1f, 0, 1f, 0.01f);
SetDefault(OsuSetting.SongSelectBackgoundBlurLevel, 1f, 0, 1f, 0.01f);
// Online settings
SetDefault(OsuSetting.Username, string.Empty);
@ -341,7 +341,7 @@ public enum OsuSetting
ChatDisplayHeight,
BeatmapListingCardSize,
ToolbarClockDisplayMode,
BeatmapSelectionBackgoundBlurLevel,
SongSelectBackgoundBlurLevel,
Version,
ShowFirstRunSetup,
ShowConvertedBeatmaps,

View File

@ -112,7 +112,7 @@ public static class UserInterfaceStrings
/// <summary>
/// "Song select background blur"
/// </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>
/// "no limit"

View File

@ -45,8 +45,8 @@ private void load(OsuConfigManager config)
},
new SettingsSlider<float>
{
LabelText = UserInterfaceStrings.BeatmapSelectionBackgroundBlurLevel,
Current = config.GetBindable<float>(OsuSetting.BeatmapSelectionBackgoundBlurLevel)
LabelText = UserInterfaceStrings.SongSelectBackgroundBlurLevel,
Current = config.GetBindable<float>(OsuSetting.SongSelectBackgoundBlurLevel)
}
};
}

View File

@ -144,7 +144,7 @@ private void applyBackgroundBlur(ValueChangedEvent<float> v)
[BackgroundDependencyLoader(true)]
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
{