mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Simplify input buttons/keys in tests
This commit is contained in:
@ -40,11 +40,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
void addPressKeyStep()
|
||||
{
|
||||
AddStep($"Press {testKey} key", () =>
|
||||
{
|
||||
InputManager.PressKey(testKey);
|
||||
InputManager.ReleaseKey(testKey);
|
||||
});
|
||||
AddStep($"Press {testKey} key", () => InputManager.Key(testKey));
|
||||
}
|
||||
|
||||
addPressKeyStep();
|
||||
|
Reference in New Issue
Block a user