mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +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
|
public class ChatLine : AutoSizeContainer
|
||||||
{
|
{
|
||||||
|
private readonly Message msg;
|
||||||
|
|
||||||
public ChatLine(Message msg)
|
public ChatLine(Message msg)
|
||||||
{
|
{
|
||||||
|
this.msg = msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Load()
|
||||||
|
{
|
||||||
|
base.Load();
|
||||||
|
|
||||||
SizeMode = InheritMode.X;
|
SizeMode = InheritMode.X;
|
||||||
|
|
||||||
Add(new Box
|
Add(new Box
|
||||||
|
Loading…
Reference in New Issue
Block a user