mirror of https://github.com/ppy/osu
Fix failing tests
This commit is contained in:
parent
7dd3b3eeb5
commit
0db1ea6a9d
|
@ -66,7 +66,7 @@ public void TestDragOffscreenSelectionVerticallyUpScroll()
|
|||
|
||||
AddStep("move mouse downwards", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(lastObject, new Vector2(0, lastObject.ScreenSpaceDrawQuad.Height * 2));
|
||||
InputManager.MoveMouseTo(lastObject, new Vector2(0, lastObject.ScreenSpaceDrawQuad.Height * 4));
|
||||
InputManager.ReleaseButton(MouseButton.Left);
|
||||
});
|
||||
|
||||
|
@ -103,7 +103,7 @@ public void TestDragOffscreenSelectionVerticallyDownScroll()
|
|||
|
||||
AddStep("move mouse upwards", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(lastObject, new Vector2(0, -lastObject.ScreenSpaceDrawQuad.Height * 2));
|
||||
InputManager.MoveMouseTo(lastObject, new Vector2(0, -lastObject.ScreenSpaceDrawQuad.Height * 4));
|
||||
InputManager.ReleaseButton(MouseButton.Left);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue