1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

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()
{
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
{