1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-29 05:52:56 +08:00

Add lighten background during breaks setting

This commit is contained in:
Salman Ahmed 2019-12-10 15:10:35 +03:00
parent f3ec98d85f
commit b93bbf81aa
2 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,7 @@ namespace osu.Game.Configuration
// Gameplay // Gameplay
Set(OsuSetting.DimLevel, 0.3, 0, 1, 0.01); Set(OsuSetting.DimLevel, 0.3, 0, 1, 0.01);
Set(OsuSetting.BlurLevel, 0, 0, 1, 0.01); Set(OsuSetting.BlurLevel, 0, 0, 1, 0.01);
Set(OsuSetting.LightenDuringBreaks, true);
Set(OsuSetting.HitLighting, true); Set(OsuSetting.HitLighting, true);
@ -142,6 +143,7 @@ namespace osu.Game.Configuration
AutoCursorSize, AutoCursorSize,
DimLevel, DimLevel,
BlurLevel, BlurLevel,
LightenDuringBreaks,
ShowStoryboard, ShowStoryboard,
ShowVideoBackground, ShowVideoBackground,
KeyOverlay, KeyOverlay,

View File

@ -30,6 +30,11 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
KeyboardStep = 0.01f KeyboardStep = 0.01f
}, },
new SettingsCheckbox new SettingsCheckbox
{
LabelText = "Lighten playfield during breaks",
Bindable = config.GetBindable<bool>(OsuSetting.LightenDuringBreaks)
},
new SettingsCheckbox
{ {
LabelText = "Show score overlay", LabelText = "Show score overlay",
Bindable = config.GetBindable<bool>(OsuSetting.ShowInterface) Bindable = config.GetBindable<bool>(OsuSetting.ShowInterface)