mirror of
https://github.com/ppy/osu
synced 2024-12-18 04:46:09 +00:00
Don't show warning on android
Unsure about iOS.
This commit is contained in:
parent
e4858a975d
commit
04acc58b74
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user