mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 16:27:43 +08:00
Update test
This commit is contained in:
parent
b62d9f8696
commit
8b046f60f0
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user