mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Use ToString()
for test instead of linq skip
This commit is contained in:
parent
133b9b79d7
commit
4cf448ec11
@ -219,7 +219,7 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
|
||||
AddStep("Click gameplay scene button", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(skinEditor.ChildrenOfType<SkinEditorSceneLibrary.SceneButton>().Skip(1).First());
|
||||
InputManager.MoveMouseTo(skinEditor.ChildrenOfType<SkinEditorSceneLibrary.SceneButton>().First(b => b.Text.ToString() == "Gameplay"));
|
||||
InputManager.Click(MouseButton.Left);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user