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:
parent
1174f46656
commit
1c48fdb235
@ -134,7 +134,6 @@ namespace osu.Desktop
|
||||
if (iconStream != null)
|
||||
host.Window.SetIconFromStream(iconStream);
|
||||
|
||||
host.Window.CursorState |= CursorState.Hidden;
|
||||
host.Window.Title = Name;
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user