1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Make the disabling of the win key during gameplay a toggleable setting.

This commit is contained in:
Lucas A 2020-06-30 13:12:33 +02:00
parent 50ae69b111
commit 641ea5b950
2 changed files with 8 additions and 1 deletions

View File

@ -98,6 +98,7 @@ namespace osu.Game.Configuration
Set(OsuSetting.ScoreDisplayMode, ScoringMode.Standardised); Set(OsuSetting.ScoreDisplayMode, ScoringMode.Standardised);
Set(OsuSetting.IncreaseFirstObjectVisibility, true); Set(OsuSetting.IncreaseFirstObjectVisibility, true);
Set(OsuSetting.GameplayDisableWinKey, true);
// Update // Update
Set(OsuSetting.ReleaseStream, ReleaseStream.Lazer); Set(OsuSetting.ReleaseStream, ReleaseStream.Lazer);
@ -227,6 +228,7 @@ namespace osu.Game.Configuration
IntroSequence, IntroSequence,
UIHoldActivationDelay, UIHoldActivationDelay,
HitLighting, HitLighting,
MenuBackgroundSource MenuBackgroundSource,
GameplayDisableWinKey
} }
} }

View File

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