1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 17:33:22 +08:00

Display on Windows and Linux only

This commit is contained in:
Salman Ahmed 2021-08-13 09:26:53 +03:00
parent c5ee8753b4
commit 543f6039e2

View File

@ -101,15 +101,18 @@ namespace osu.Game.Overlays.Settings.Sections.Input
AutoSizeAxes = Axes.Y,
}.With(t =>
{
t.NewLine();
t.AddText("If your tablet is not getting detected properly,", s => s.Colour = colours.Yellow);
t.NewParagraph();
t.AddText("read ", s => s.Colour = colours.Yellow);
t.AddLink("the driver's FAQ", LinkAction.External, RuntimeInfo.OS == RuntimeInfo.Platform.Windows
? @"https://github.com/OpenTabletDriver/OpenTabletDriver/wiki/Windows-FAQ"
: @"https://github.com/OpenTabletDriver/OpenTabletDriver/wiki/Linux-FAQ");
if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows || RuntimeInfo.OS == RuntimeInfo.Platform.Linux)
{
t.NewLine();
t.AddText("If your tablet is not getting detected properly,", s => s.Colour = colours.Yellow);
t.NewParagraph();
t.AddText("read ", s => s.Colour = colours.Yellow);
t.AddLink("the driver's FAQ", LinkAction.External, RuntimeInfo.OS == RuntimeInfo.Platform.Windows
? @"https://github.com/OpenTabletDriver/OpenTabletDriver/wiki/Windows-FAQ"
: @"https://github.com/OpenTabletDriver/OpenTabletDriver/wiki/Linux-FAQ");
t.AddText(" to troubleshoot the problem further.", s => s.Colour = colours.Yellow);
t.AddText(" to troubleshoot the problem further.", s => s.Colour = colours.Yellow);
}
}),
}
},