From 7c98ef1b3dfa646ca49886960d0049944a67f10e Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 28 Sep 2016 16:33:20 +0900 Subject: [PATCH] Move initialisation of ChatLine to Load. --- osu.Game/Online/Chat/Display/ChatLine.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/osu.Game/Online/Chat/Display/ChatLine.cs b/osu.Game/Online/Chat/Display/ChatLine.cs index 024571809c..7e11aeb068 100644 --- a/osu.Game/Online/Chat/Display/ChatLine.cs +++ b/osu.Game/Online/Chat/Display/ChatLine.cs @@ -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