mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 07:04:15 +08:00
Remove unnecessary method
This commit is contained in:
parent
6be9c9f0f4
commit
f5667125a0
@ -184,12 +184,6 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
InputManager.Click(MouseButton.Left);
|
||||
});
|
||||
|
||||
private void addClickReadyButtonStep() => AddStep("click ready button", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(readyButton);
|
||||
InputManager.Click(MouseButton.Left);
|
||||
});
|
||||
|
||||
private void assertSpectateButtonEnablement(bool shouldBeEnabled)
|
||||
=> AddAssert($"spectate button {(shouldBeEnabled ? "is" : "is not")} enabled", () => spectateButton.ChildrenOfType<OsuButton>().Single().Enabled.Value == shouldBeEnabled);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user