Don't show warning on android

Unsure about iOS.
This commit is contained in:
Susko3 2024-05-19 14:12:21 +02:00
parent e4858a975d
commit 04acc58b74

View File

@ -105,12 +105,17 @@ namespace osu.Game.Overlays.Settings.Sections.Input
highPrecisionMouse.Current.BindValueChanged(highPrecision => highPrecisionMouse.Current.BindValueChanged(highPrecision =>
{ {
if (RuntimeInfo.OS != RuntimeInfo.Platform.Windows) switch (RuntimeInfo.OS)
{ {
case RuntimeInfo.Platform.Linux:
case RuntimeInfo.Platform.macOS:
case RuntimeInfo.Platform.iOS:
if (highPrecision.NewValue) if (highPrecision.NewValue)
highPrecisionMouse.SetNoticeText(MouseSettingsStrings.HighPrecisionPlatformWarning, true); highPrecisionMouse.SetNoticeText(MouseSettingsStrings.HighPrecisionPlatformWarning, true);
else else
highPrecisionMouse.ClearNoticeText(); highPrecisionMouse.ClearNoticeText();
break;
} }
}, true); }, true);
} }