mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +08:00
Trim whilespace
This commit is contained in:
parent
4b7ffd09d9
commit
0a207e00d5
@ -62,7 +62,7 @@ namespace osu.Game.Online.Chat
|
|||||||
private void currentChatChanged(ChatBase chatBase)
|
private void currentChatChanged(ChatBase chatBase)
|
||||||
{
|
{
|
||||||
if (chatBase is ChannelChat channel && !JoinedChannels.Contains(channel))
|
if (chatBase is ChannelChat channel && !JoinedChannels.Contains(channel))
|
||||||
JoinedChannels.Add(channel);
|
JoinedChannels.Add(channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -40,7 +40,6 @@ namespace osu.Game.Overlays.Chat
|
|||||||
EdgeEffect = deactivateEdgeEffect;
|
EdgeEffect = deactivateEdgeEffect;
|
||||||
Masking = false;
|
Masking = false;
|
||||||
Shear = shear;
|
Shear = shear;
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Container()
|
new Container()
|
||||||
@ -82,7 +81,6 @@ namespace osu.Game.Overlays.Chat
|
|||||||
Origin = Anchor.TopLeft,
|
Origin = Anchor.TopLeft,
|
||||||
Anchor = Anchor.TopLeft,
|
Anchor = Anchor.TopLeft,
|
||||||
Shear = -shear,
|
Shear = -shear,
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Container
|
new Container
|
||||||
@ -97,7 +95,6 @@ namespace osu.Game.Overlays.Chat
|
|||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
|
||||||
new SpriteIcon
|
new SpriteIcon
|
||||||
{
|
{
|
||||||
Icon = FontAwesome.fa_eercast,
|
Icon = FontAwesome.fa_eercast,
|
||||||
@ -138,13 +135,12 @@ namespace osu.Game.Overlays.Chat
|
|||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
|
|
||||||
Action = delegate
|
Action = delegate
|
||||||
{
|
{
|
||||||
if (IsRemovable) OnRequestClose?.Invoke(this);
|
if (IsRemovable) OnRequestClose?.Invoke(this);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user