mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:52:55 +08:00
Use a descriptive name for the setting
This commit is contained in:
parent
98daaf634a
commit
530e07110f
@ -77,7 +77,7 @@ namespace osu.Game.Configuration
|
||||
Set(OsuSetting.BlurLevel, 0, 0, 1, 0.01);
|
||||
|
||||
Set(OsuSetting.ShowInterface, true);
|
||||
Set(OsuSetting.HideHealthBar, true);
|
||||
Set(OsuSetting.HideHealthBarWhenCantFail, true);
|
||||
Set(OsuSetting.KeyOverlay, false);
|
||||
|
||||
Set(OsuSetting.FloatingComments, false);
|
||||
@ -132,7 +132,7 @@ namespace osu.Game.Configuration
|
||||
KeyOverlay,
|
||||
FloatingComments,
|
||||
ShowInterface,
|
||||
HideHealthBar,
|
||||
HideHealthBarWhenCantFail,
|
||||
MouseDisableButtons,
|
||||
MouseDisableWheel,
|
||||
AudioOffset,
|
||||
|
@ -37,7 +37,7 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
new SettingsCheckbox
|
||||
{
|
||||
LabelText = "Hide health bar if you can't fail",
|
||||
Bindable = config.GetBindable<bool>(OsuSetting.HideHealthBar),
|
||||
Bindable = config.GetBindable<bool>(OsuSetting.HideHealthBarWhenCantFail),
|
||||
},
|
||||
new SettingsCheckbox
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
|
||||
public void ReadFromConfig(OsuConfigManager config)
|
||||
{
|
||||
hideHealthBar = config.GetBindable<bool>(OsuSetting.HideHealthBar);
|
||||
hideHealthBar = config.GetBindable<bool>(OsuSetting.HideHealthBarWhenCantFail);
|
||||
}
|
||||
|
||||
public void ApplyToHUD(HUDOverlay overlay)
|
||||
|
Loading…
Reference in New Issue
Block a user