mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +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[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
new SettingsCheckbox
|
||||||
|
{
|
||||||
|
LabelText = "Enabled",
|
||||||
|
Anchor = Anchor.TopCentre,
|
||||||
|
Origin = Anchor.TopCentre,
|
||||||
|
Current = tabletHandler.Enabled
|
||||||
|
},
|
||||||
noTabletMessage = new OsuSpriteText
|
noTabletMessage = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = "No tablet detected!",
|
Text = "No tablet detected!",
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.TopCentre,
|
||||||
Padding = new MarginPadding { Horizontal = SettingsPanel.CONTENT_MARGINS }
|
Padding = new MarginPadding { Horizontal = SettingsPanel.CONTENT_MARGINS }
|
||||||
},
|
},
|
||||||
mainSettings = new FillFlowContainer
|
mainSettings = new FillFlowContainer
|
||||||
|
Reference in New Issue
Block a user