mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Simplify input buttons/keys in tests
This commit is contained in:
@ -71,11 +71,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
|
||||
private void press(Key down)
|
||||
{
|
||||
AddStep($"press {down}", () =>
|
||||
{
|
||||
InputManager.PressKey(down);
|
||||
InputManager.ReleaseKey(down);
|
||||
});
|
||||
AddStep($"press {down}", () => InputManager.Key(down));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user