diff --git a/osu-framework b/osu-framework index 768dd5dd7d..e33e9158a9 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 768dd5dd7d89c680d4089f43df8c7a9fc1f8688c +Subproject commit e33e9158a96f0dd72f5c6d94b3778d28e98598da diff --git a/osu.Game/Graphics/UserInterface/TextBox.cs b/osu.Game/Graphics/UserInterface/TextBox.cs index 8fd07f84cc..af2bd06184 100644 --- a/osu.Game/Graphics/UserInterface/TextBox.cs +++ b/osu.Game/Graphics/UserInterface/TextBox.cs @@ -48,6 +48,8 @@ namespace osu.Game.Graphics.UserInterface public override void Load() { + base.Load(); + Add(background = new Box() { Colour = BackgroundUnfocused, @@ -96,6 +98,8 @@ namespace osu.Game.Graphics.UserInterface protected override void UpdateLayout() { + base.UpdateLayout(); + //have to run this after children flow cursorAndLayout.Refresh(delegate { diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs index effc01e122..c72fb00bb0 100644 --- a/osu.Game/OsuGame.cs +++ b/osu.Game/OsuGame.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Drawing; using osu.Framework.Framework; using osu.Game.Configuration; using osu.Game.GameModes.Menu;