Update test

This commit is contained in:
Dean Herbert 2024-10-12 02:21:28 +09:00
parent b62d9f8696
commit 8b046f60f0
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

View File

@ -206,7 +206,12 @@ public void TestGridTypeToggling()
private void nextGridTypeIs<T>() where T : PositionSnapGrid
{
AddStep("toggle to next grid type", () => InputManager.Key(Key.H));
AddStep("toggle to next grid type", () =>
{
InputManager.PressKey(Key.ShiftLeft);
InputManager.Key(Key.G);
InputManager.ReleaseKey(Key.ShiftLeft);
});
gridActive<T>(true);
}