From 7254c31a92bf7e9399e6cd2341e581dabb0bf584 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sun, 4 Sep 2016 17:42:15 +0900 Subject: [PATCH] Drawable is abstract, let's not instantiate it. --- osu.Game/GameModes/Menu/ButtonSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/GameModes/Menu/ButtonSystem.cs b/osu.Game/GameModes/Menu/ButtonSystem.cs index f2008d0fc0..897c1655d4 100644 --- a/osu.Game/GameModes/Menu/ButtonSystem.cs +++ b/osu.Game/GameModes/Menu/ButtonSystem.cs @@ -84,7 +84,7 @@ public override void Load() buttonFlow.Add(backButton = new Button(@"back", @"back", FontAwesome.fa_osu_left_o, new Color4(51, 58, 94, 255), onBack, -wedge_width, Key.Escape)); //need a container to make the osu! icon flow properly. - buttonFlow.Add(iconFacade = new Drawable() { Size = new Vector2(0, button_area_height) }); + buttonFlow.Add(iconFacade = new Container() { Size = new Vector2(0, button_area_height) }); buttonsPlay.Add((Button)buttonFlow.Add(new Button(@"solo", @"freeplay", FontAwesome.user, new Color4(102, 68, 204, 255), onSolo, wedge_width, Key.P))); buttonsPlay.Add((Button)buttonFlow.Add(new Button(@"multi", @"multiplayer", FontAwesome.users, new Color4(94, 63, 186, 255), onMulti, 0, Key.M)));