Change range to 0-100% and rename to "normalisation"

This commit is contained in:
Dean Herbert
2022-11-02 13:46:50 +09:00
parent 2f3c80f884
commit 99ba7c29dd
3 changed files with 8 additions and 10 deletions

View File

@ -16,12 +16,12 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
{
protected override LocalisableString Header => GameplaySettingsStrings.BeatmapHeader;
private readonly BindableFloat comboColourBrightness = new BindableFloat();
private readonly BindableFloat comboColourNormalisation = new BindableFloat();
[BackgroundDependencyLoader]
private void load(OsuConfigManager config)
{
config.BindWith(OsuSetting.ComboColourBrightness, comboColourBrightness);
config.BindWith(OsuSetting.ComboColourNormalisation, comboColourNormalisation);
Children = new Drawable[]
{
@ -47,8 +47,8 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
},
new SettingsSlider<float>
{
LabelText = "Combo colour brightness",
Current = comboColourBrightness,
LabelText = "Combo colour normalisation",
Current = comboColourNormalisation,
DisplayAsPercentage = true,
}
};