From dde748b8c1fbc1f3cdc339384585d45ffdd816f8 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Sat, 3 Sep 2016 21:18:07 +0930 Subject: [PATCH] Fix loaded not being set on textbox Load. --- osu.Game/Graphics/UserInterface/TextBox.cs | 4 ++++ 1 file changed, 4 insertions(+) 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 {