Add playfield bounds box with toggle and dim slider

This commit is contained in:
Yao Chung Hu
2020-07-09 14:01:28 -05:00
parent 0f91e41764
commit 321815f535
4 changed files with 73 additions and 4 deletions

View File

@ -76,7 +76,19 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
{
LabelText = "Score display mode",
Bindable = config.GetBindable<ScoringMode>(OsuSetting.ScoreDisplayMode)
}
},
new SettingsCheckbox
{
LabelText = "Show playfield area",
Bindable = config.GetBindable<bool>(OsuSetting.ShowPlayfieldArea)
},
new SettingsSlider<double>
{
LabelText = "Playfield area dim",
Bindable = config.GetBindable<double>(OsuSetting.PlayfieldAreaDimLevel),
KeyboardStep = 0.01f,
DisplayAsPercentage = true
},
};
}
}