mirror of
https://github.com/ppy/osu
synced 2025-02-10 07:07:53 +00:00
Nudge click location to avoid placement failures
This commit is contained in:
parent
a759e641eb
commit
6380216263
@ -142,7 +142,7 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
// and the playfield/composer.
|
||||
var scrollArea = hitObjectComposer.ChildrenOfType<ExpandingToolboxContainer>().First().ScreenSpaceDrawQuad;
|
||||
var playfield = hitObjectComposer.Playfield.ScreenSpaceDrawQuad;
|
||||
InputManager.MoveMouseTo(new Vector2(scrollArea.TopLeft.X, playfield.Centre.Y));
|
||||
InputManager.MoveMouseTo(new Vector2(scrollArea.TopLeft.X + 1, playfield.Centre.Y));
|
||||
});
|
||||
|
||||
AddAssert("no circles placed", () => editorBeatmap.HitObjects.Count == 0);
|
||||
|
Loading…
Reference in New Issue
Block a user