mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08:00
Adjust failing test scenes
This commit is contained in:
parent
1d4f4cf4c3
commit
634795e45f
@ -96,7 +96,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
|
|
||||||
AddStep("Begin drag top left", () =>
|
AddStep("Begin drag top left", () =>
|
||||||
{
|
{
|
||||||
InputManager.MoveMouseTo(box1.ScreenSpaceDrawQuad.TopLeft - new Vector2(box1.ScreenSpaceDrawQuad.Width / 4));
|
InputManager.MoveMouseTo(box1.ScreenSpaceDrawQuad.TopLeft - new Vector2(box1.ScreenSpaceDrawQuad.Width / 4, box1.ScreenSpaceDrawQuad.Height / 8));
|
||||||
InputManager.PressButton(MouseButton.Left);
|
InputManager.PressButton(MouseButton.Left);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -146,8 +146,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
{
|
{
|
||||||
AddStep("Add big black box", () =>
|
AddStep("Add big black box", () =>
|
||||||
{
|
{
|
||||||
InputManager.MoveMouseTo(skinEditor.ChildrenOfType<BigBlackBox>().First());
|
skinEditor.ChildrenOfType<SkinComponentToolbox.ToolboxComponentButton>().First(b => b.ChildrenOfType<BigBlackBox>().FirstOrDefault() != null).TriggerClick();
|
||||||
InputManager.Click(MouseButton.Left);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
AddStep("store box", () =>
|
AddStep("store box", () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user