Add GameplayDisableOverlays setting.

This commit is contained in:
Lucas A 2020-08-01 19:44:30 +02:00
parent 2460488255
commit 4522564668
2 changed files with 8 additions and 1 deletions

View File

@ -100,6 +100,7 @@ protected override void InitialiseDefaults()
Set(OsuSetting.IncreaseFirstObjectVisibility, true);
Set(OsuSetting.GameplayDisableWinKey, true);
Set(OsuSetting.GameplayDisableOverlayActivation, true);
// Update
Set(OsuSetting.ReleaseStream, ReleaseStream.Lazer);
@ -231,6 +232,7 @@ public enum OsuSetting
UIHoldActivationDelay,
HitLighting,
MenuBackgroundSource,
GameplayDisableWinKey
GameplayDisableWinKey,
GameplayDisableOverlayActivation
}
}

View File

@ -77,6 +77,11 @@ private void load(OsuConfigManager config)
{
LabelText = "Score display mode",
Bindable = config.GetBindable<ScoringMode>(OsuSetting.ScoreDisplayMode)
},
new SettingsCheckbox
{
LabelText = "Disable overlays during gameplay",
Bindable = config.GetBindable<bool>(OsuSetting.GameplayDisableOverlayActivation)
}
};