1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:53:23 +08:00

variable naming and loc modifications

This commit is contained in:
Jeremiah DECOMBE 2023-01-23 23:07:50 +01:00
parent 6daa364779
commit f13a5465ba
4 changed files with 7 additions and 8 deletions

View File

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

View File

@ -110,10 +110,9 @@ namespace osu.Game.Localisation
public static LocalisableString ModSelectHotkeyStyle => new TranslatableString(getKey(@"mod_select_hotkey_style"), @"Mod select hotkey style");
/// <summary>
/// "Beatmap selection blur level"
/// "Song select background blur"
/// </summary>
public static LocalisableString BeatmapSelectionBlurLevel => new TranslatableString(getKey(@"beatmap_selection_blur_level"), @"Beatmap selection blur level");
public static LocalisableString BeatmapSelectionBackgroundBlurLevel => new TranslatableString(getKey(@"beatmap_selection_background_blur_level"), @"Song select background blur");
/// <summary>
/// "no limit"

View File

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

View File

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