Fix failing tests

This commit is contained in:
Dean Herbert 2020-05-21 15:47:12 +09:00
parent 7dd3b3eeb5
commit 0db1ea6a9d
1 changed files with 2 additions and 2 deletions

View File

@ -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);
});