mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Convert to using sheared overlay container
Add better click-to-dismiss logic for sheader overlays
This commit is contained in:
@ -165,7 +165,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
|
||||
AddStep("click outside content", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(overlay.ScreenSpaceDrawQuad.TopLeft - new Vector2(1));
|
||||
InputManager.MoveMouseTo(new Vector2(overlay.ScreenSpaceDrawQuad.TopLeft.X, overlay.ScreenSpaceDrawQuad.Centre.Y));
|
||||
InputManager.Click(MouseButton.Left);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user