Move initialisation of ChatLine to Load.

This commit is contained in:
Dean Herbert
2016-09-28 16:33:20 +09:00
parent 8650e951e5
commit 7c98ef1b3d

View File

@ -14,8 +14,17 @@ namespace osu.Game.Online.Chat.Display
{
public class ChatLine : AutoSizeContainer
{
private readonly Message msg;
public ChatLine(Message msg)
{
this.msg = msg;
}
public override void Load()
{
base.Load();
SizeMode = InheritMode.X;
Add(new Box