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)
{ {
if (highPrecision.NewValue) case RuntimeInfo.Platform.Linux:
highPrecisionMouse.SetNoticeText(MouseSettingsStrings.HighPrecisionPlatformWarning, true); case RuntimeInfo.Platform.macOS:
else case RuntimeInfo.Platform.iOS:
highPrecisionMouse.ClearNoticeText(); if (highPrecision.NewValue)
highPrecisionMouse.SetNoticeText(MouseSettingsStrings.HighPrecisionPlatformWarning, true);
else
highPrecisionMouse.ClearNoticeText();
break;
} }
}, true); }, true);
} }