mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Move cursor hiding to OsuGameDesktop (fixes headless).
This commit is contained in:
@ -43,6 +43,8 @@ namespace osu.Desktop
|
||||
var desktopWindow = host.Window as DesktopGameWindow;
|
||||
if (desktopWindow != null)
|
||||
{
|
||||
desktopWindow.CursorState = CursorState.Hidden;
|
||||
|
||||
desktopWindow.Icon = Icon.ExtractAssociatedIcon(Assembly.GetExecutingAssembly().Location);
|
||||
desktopWindow.Title = Name;
|
||||
|
||||
|
@ -132,8 +132,6 @@ namespace osu.Game
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
Host.Window.CursorState = CursorState.Hidden;
|
||||
|
||||
AddInternal(ratioContainer = new RatioAdjust
|
||||
{
|
||||
Children = new[]
|
||||
|
Reference in New Issue
Block a user