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:
parent
8650e951e5
commit
7c98ef1b3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user