1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 01:32:55 +08:00

Add Hidden cursor state flag on all platforms

This commit is contained in:
Salman Alshamrani 2024-12-21 14:03:20 -05:00
parent 1174f46656
commit 1c48fdb235
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

@ -319,6 +319,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.