Add warning about using high precision mouse on macOS

This commit is contained in:
Dean Herbert
2021-07-26 16:59:59 +09:00
parent af9f910a12
commit b70bd7689e
2 changed files with 20 additions and 1 deletions

View File

@ -54,6 +54,11 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString CursorSensitivity => new TranslatableString(getKey(@"cursor_sensitivity"), @"Cursor sensitivity");
/// <summary>
/// "This setting currently has issues on macOS. It is recommended to adjust sensitivity externally and keep this disabled for now."
/// </summary>
public static LocalisableString HighPrecisionMacOSWarning => new TranslatableString(getKey(@"high_precision_macos_warning"), @"This setting currently has issues on macOS. It is recommended to adjust sensitivity externally and keep this disabled for now.");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}