1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-09 14:02:56 +08:00

Fix TestSceneUserPanel tests failing

This commit is contained in:
Salman Ahmed 2024-02-11 11:39:12 +03:00
parent bc2b705063
commit 11b3fa8691

View File

@ -47,7 +47,11 @@ namespace osu.Game.Tests.Visual.Online
activity.Value = null;
status.Value = null;
Child = new FillFlowContainer
Remove(statisticsProvider, false);
Clear();
Add(statisticsProvider);
Add(new FillFlowContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
@ -113,7 +117,7 @@ namespace osu.Game.Tests.Visual.Online
Statistics = new UserStatistics { GlobalRank = null, CountryRank = null }
}) { Width = 300 }
}
};
});
boundPanel1.Status.BindTo(status);
boundPanel1.Activity.BindTo(activity);