1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 16:27:43 +08:00

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

View File

@ -206,7 +206,12 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
private void nextGridTypeIs<T>() where T : PositionSnapGrid 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); gridActive<T>(true);
} }