Add checkbox for hiding health bar

This commit is contained in:
Salman Ahmed 2019-07-02 01:45:09 +03:00 committed by KingLuigi4932
parent 9c9334a8ba
commit 72e5cbb07f
2 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,7 @@ protected override void InitialiseDefaults()
Set(OsuSetting.BlurLevel, 0, 0, 1, 0.01);
Set(OsuSetting.ShowInterface, true);
Set(OsuSetting.HideHealthBar, true);
Set(OsuSetting.KeyOverlay, false);
Set(OsuSetting.FloatingComments, false);
@ -131,6 +132,7 @@ public enum OsuSetting
KeyOverlay,
FloatingComments,
ShowInterface,
HideHealthBar,
MouseDisableButtons,
MouseDisableWheel,
AudioOffset,

View File

@ -35,6 +35,11 @@ private void load(OsuConfigManager config)
Bindable = config.GetBindable<bool>(OsuSetting.ShowInterface)
},
new SettingsCheckbox
{
LabelText = "Hide health bar if you can't fail",
Bindable = config.GetBindable<bool>(OsuSetting.HideHealthBar),
},
new SettingsCheckbox
{
LabelText = "Always show key overlay",
Bindable = config.GetBindable<bool>(OsuSetting.KeyOverlay)