mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 05:37:18 +09:00
Code quality
This commit is contained in:
parent
e950c8c1d0
commit
c5845f307a
@ -144,9 +144,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
|||||||
|
|
||||||
private class ChannelGroup : FillFlowContainer
|
private class ChannelGroup : FillFlowContainer
|
||||||
{
|
{
|
||||||
public FillFlowContainer<ChannelListItem> ItemFlow => flow;
|
public readonly FillFlowContainer<ChannelListItem> ItemFlow;
|
||||||
|
|
||||||
private readonly FillFlowContainer<ChannelListItem> flow;
|
|
||||||
|
|
||||||
public ChannelGroup(LocalisableString label)
|
public ChannelGroup(LocalisableString label)
|
||||||
{
|
{
|
||||||
@ -163,7 +161,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
|||||||
Margin = new MarginPadding { Left = 18, Bottom = 5 },
|
Margin = new MarginPadding { Left = 18, Bottom = 5 },
|
||||||
Font = OsuFont.Torus.With(size: 12, weight: FontWeight.SemiBold),
|
Font = OsuFont.Torus.With(size: 12, weight: FontWeight.SemiBold),
|
||||||
},
|
},
|
||||||
flow = new FillFlowContainer<ChannelListItem>
|
ItemFlow = new FillFlowContainer<ChannelListItem>
|
||||||
{
|
{
|
||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user