Use PerformFromScreen to exit sub screens instead

This commit is contained in:
Joseph Madamba
2022-12-24 20:04:45 -08:00
parent 00ed5d6f92
commit 5232588a1f
2 changed files with 13 additions and 6 deletions

View File

@ -83,7 +83,7 @@ namespace osu.Game.Tests.Visual.Navigation
AddStep("go back to song select", () =>
{
InputManager.MoveMouseTo(playlistScreen.ChildrenOfType<PurpleTriangleButton>().Single(b => b.Text == "Edit playlist"));
InputManager.MoveMouseTo(playlistScreen.ChildrenOfType<PurpleRoundedButton>().Single(b => b.Text == "Edit playlist"));
InputManager.Click(MouseButton.Left);
});