From d331aa3b301bb4b374d3663c72587f17566ba42f Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Tue, 30 May 2017 20:02:05 -0300 Subject: [PATCH] Fix random layout animations when loaded --- osu.Game/Screens/Multiplayer/RoomInspector.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/osu.Game/Screens/Multiplayer/RoomInspector.cs b/osu.Game/Screens/Multiplayer/RoomInspector.cs index 7f0cf409d2..c771777d27 100644 --- a/osu.Game/Screens/Multiplayer/RoomInspector.cs +++ b/osu.Game/Screens/Multiplayer/RoomInspector.cs @@ -185,7 +185,8 @@ namespace osu.Game.Screens.Multiplayer }, new FillFlowContainer { - AutoSizeAxes = Axes.Both, + AutoSizeAxes = Axes.X, + Height = ruleset_height, Direction = FillDirection.Horizontal, LayoutDuration = transition_duration, Spacing = new Vector2(5f, 0f), @@ -212,7 +213,7 @@ namespace osu.Game.Screens.Multiplayer new Container { AutoSizeAxes = Axes.X, - Height = ruleset_height, + RelativeSizeAxes = Axes.Y, Margin = new MarginPadding { Left = 5 }, Children = new[] { @@ -389,9 +390,9 @@ namespace osu.Game.Screens.Multiplayer beatmapBind.TriggerChange(); } - protected override void Update() + protected override void UpdateAfterChildren() { - base.Update(); + base.UpdateAfterChildren(); participantsScroll.Height = DrawHeight - topFlow.DrawHeight; }