mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Fix incorrect child margin specifications
This commit is contained in:
parent
447001931c
commit
eaac2bad3d
@ -193,13 +193,12 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
shakeContainer = new ShakeContainer
|
||||
Child = shakeContainer = new ShakeContainer
|
||||
{
|
||||
Margin = new MarginPadding(10),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = new FillFlowContainer
|
||||
{
|
||||
Margin = new MarginPadding(10),
|
||||
Spacing = new Vector2(5),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Direction = FillDirection.Horizontal,
|
||||
@ -218,7 +217,6 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
}
|
||||
}
|
||||
};
|
||||
Child = shakeContainer;
|
||||
|
||||
joinButton.Action = () => lounge?.Join(room, passwordTextbox.Text, null, joinFailed);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user