mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +08:00
Set icon for SDL desktop window
This commit is contained in:
parent
66e89f56d9
commit
42f666cd24
@ -138,6 +138,7 @@ namespace osu.Desktop
|
||||
// SDL2 DesktopWindow
|
||||
case DesktopWindow desktopWindow:
|
||||
desktopWindow.CursorState.Value |= CursorState.Hidden;
|
||||
desktopWindow.SetIconFromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
|
||||
desktopWindow.Title = Name;
|
||||
desktopWindow.DragDrop += f => fileDrop(new[] { f });
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user