Fix loaded not being set on textbox Load.

This commit is contained in:
smoogipooo 2016-09-03 21:18:07 +09:30
parent e31597bba3
commit dde748b8c1

View File

@ -48,6 +48,8 @@ namespace osu.Game.Graphics.UserInterface
public override void Load() public override void Load()
{ {
base.Load();
Add(background = new Box() Add(background = new Box()
{ {
Colour = BackgroundUnfocused, Colour = BackgroundUnfocused,
@ -96,6 +98,8 @@ namespace osu.Game.Graphics.UserInterface
protected override void UpdateLayout() protected override void UpdateLayout()
{ {
base.UpdateLayout();
//have to run this after children flow //have to run this after children flow
cursorAndLayout.Refresh(delegate cursorAndLayout.Refresh(delegate
{ {