mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
Add checkbox to optionally disable tablet handling
This commit is contained in:
parent
4da9089b00
commit
6f32c302eb
@ -62,11 +62,18 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new SettingsCheckbox
|
||||
{
|
||||
LabelText = "Enabled",
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Current = tabletHandler.Enabled
|
||||
},
|
||||
noTabletMessage = new OsuSpriteText
|
||||
{
|
||||
Text = "No tablet detected!",
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Padding = new MarginPadding { Horizontal = SettingsPanel.CONTENT_MARGINS }
|
||||
},
|
||||
mainSettings = new FillFlowContainer
|
||||
|
Loading…
Reference in New Issue
Block a user