1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

Re-implement OsuGameDesktop icon

This commit is contained in:
smoogipoo 2018-03-26 18:55:55 +09:00
parent c6b9c4b588
commit b9f456402a
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit f0ed38258b61622fa2e500f010a8a6ff1200995a
Subproject commit 8be3928da807b4bddb0557308f8e223cc0a12663

View File

@ -2,8 +2,10 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using osu.Desktop.Overlays;
using osu.Framework.Graphics.Containers;
@ -98,7 +100,7 @@ namespace osu.Desktop
{
desktopWindow.CursorState |= CursorState.Hidden;
// desktopWindow.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
desktopWindow.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream(GetType(), "lazer.ico"));
desktopWindow.Title = Name;
desktopWindow.FileDrop += fileDrop;