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

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