mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add checkbox to optionally disable tablet handling
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user