Fix startup crash on mono.

This commit is contained in:
naoey 2017-09-06 20:04:21 +05:30
parent 70e3ac30db
commit 69ff4bfa46
No known key found for this signature in database
GPG Key ID: 2CCE71F6713C9069

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