1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 21:40:56 +08:00

Merge pull request #31226 from frenzibyte/fix-raw-input-mobile

Add `Hidden` cursor state flag on non-desktop platforms as well
This commit is contained in:
Dean Herbert
2024-12-24 21:35:50 +09:00
committed by GitHub
Unverified
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -134,7 +134,6 @@ namespace osu.Desktop
if (iconStream != null)
host.Window.SetIconFromStream(iconStream);
host.Window.CursorState |= CursorState.Hidden;
host.Window.Title = Name;
}
+1
View File
@@ -325,6 +325,7 @@ namespace osu.Game
if (host.Window != null)
{
host.Window.CursorState |= CursorState.Hidden;
host.Window.DragDrop += path =>
{
// on macOS/iOS, URL associations are handled via SDL_DROPFILE events.