1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 11:43:22 +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
commit df3b300fff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

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;
}

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.