mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 06:12:58 +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:
commit
df3b300fff
@ -134,7 +134,6 @@ namespace osu.Desktop
|
|||||||
if (iconStream != null)
|
if (iconStream != null)
|
||||||
host.Window.SetIconFromStream(iconStream);
|
host.Window.SetIconFromStream(iconStream);
|
||||||
|
|
||||||
host.Window.CursorState |= CursorState.Hidden;
|
|
||||||
host.Window.Title = Name;
|
host.Window.Title = Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -325,6 +325,7 @@ namespace osu.Game
|
|||||||
|
|
||||||
if (host.Window != null)
|
if (host.Window != null)
|
||||||
{
|
{
|
||||||
|
host.Window.CursorState |= CursorState.Hidden;
|
||||||
host.Window.DragDrop += path =>
|
host.Window.DragDrop += path =>
|
||||||
{
|
{
|
||||||
// on macOS/iOS, URL associations are handled via SDL_DROPFILE events.
|
// on macOS/iOS, URL associations are handled via SDL_DROPFILE events.
|
||||||
|
Loading…
Reference in New Issue
Block a user