1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Merge pull request #1219 from naoey/fix-mono-crash

Fix startup crash on mono.
This commit is contained in:
Dean Herbert 2017-09-10 11:58:58 +09:00 committed by GitHub
commit 7d4ca40965
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 4e7ea6af4f59f21f6afc522fb063c05417e1a5fe
Subproject commit a617245a4261d7d6e138c2fddbbeaa7940d24ca7

View File

@ -96,7 +96,7 @@ namespace osu.Game.Graphics.UserInterface
protected override DrawableMenuItem CreateDrawableMenuItem(MenuItem item) => new DrawableOsuDropdownMenuItem(item) { AccentColour = accentColour };
#region DrawableOsuDropdownMenuItem
protected class DrawableOsuDropdownMenuItem : DrawableDropdownMenuItem, IHasAccentColour
public class DrawableOsuDropdownMenuItem : DrawableDropdownMenuItem, IHasAccentColour
{
private Color4? accentColour;
public Color4 AccentColour