Move ChannelList scrollbar to the right

This commit is contained in:
Jai Sharma 2022-04-16 19:19:18 +01:00
parent 4a0c5a0781
commit 36aea9009e

View File

@ -44,7 +44,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
{ {
Padding = new MarginPadding { Vertical = 7 }, Padding = new MarginPadding { Vertical = 7 },
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
ScrollbarAnchor = Anchor.TopLeft, ScrollbarAnchor = Anchor.TopRight,
ScrollDistance = 35f, ScrollDistance = 35f,
Child = new FillFlowContainer Child = new FillFlowContainer
{ {
@ -147,7 +147,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
: base(scrollDir) : base(scrollDir)
{ {
Size = new Vector2(bar_size); Size = new Vector2(bar_size);
Margin = new MarginPadding { Left = bar_margin }; Margin = new MarginPadding { Horizontal = bar_margin };
CornerRadius = 2; CornerRadius = 2;
} }