1
0
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:
iiSaLMaN 2019-07-06 06:32:25 +03:00
parent 98daaf634a
commit 530e07110f
3 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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
{

View File

@ -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)