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 @@ namespace osu.Game.Configuration
Set(OsuSetting.IncreaseFirstObjectVisibility, true);
Set(OsuSetting.GameplayDisableWinKey, true);
Set(OsuSetting.GameplayDisableOverlayActivation, true);
// Update
Set(OsuSetting.ReleaseStream, ReleaseStream.Lazer);
@ -231,6 +232,7 @@ namespace osu.Game.Configuration
UIHoldActivationDelay,
HitLighting,
MenuBackgroundSource,
GameplayDisableWinKey
GameplayDisableWinKey,
GameplayDisableOverlayActivation
}
}

View File

@ -77,6 +77,11 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
{
LabelText = "Score display mode",
Bindable = config.GetBindable<ScoringMode>(OsuSetting.ScoreDisplayMode)
},
new SettingsCheckbox
{
LabelText = "Disable overlays during gameplay",
Bindable = config.GetBindable<bool>(OsuSetting.GameplayDisableOverlayActivation)
}
};