mirror of https://github.com/ppy/osu
Update test
This commit is contained in:
parent
b62d9f8696
commit
8b046f60f0
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue