Move cursor hiding to OsuGameDesktop (fixes headless).

This commit is contained in:
Dean Herbert
2017-03-18 21:46:58 +09:00
parent f636f59289
commit 6f07930110
2 changed files with 2 additions and 2 deletions

View File

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