mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:52:55 +08:00
Fix wedge showing abruptly in test
This commit is contained in:
parent
82fb9dc2ef
commit
e0a9c7e9a9
@ -56,7 +56,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
Padding = new MarginPadding { Top = 20 },
|
||||
Child = infoWedge = new TestBeatmapInfoWedgeV2
|
||||
{
|
||||
State = { Value = Visibility.Visible },
|
||||
Width = 0.6f,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
},
|
||||
@ -165,6 +164,7 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
{
|
||||
containerBefore = infoWedge.DisplayedContent;
|
||||
infoWedge.Beatmap = Beatmap.Value = b == null ? Beatmap.Default : CreateWorkingBeatmap(b);
|
||||
infoWedge.Show();
|
||||
});
|
||||
|
||||
AddUntilStep("wait for async load", () => infoWedge.DisplayedContent != containerBefore);
|
||||
|
Loading…
Reference in New Issue
Block a user