Merge pull request #19612 from bdach/mod-overlay/common-delete-dialog

Unify implementations of deletion dialogs
This commit is contained in:
Dean Herbert
2022-08-07 12:18:03 +09:00
committed by GitHub
10 changed files with 108 additions and 138 deletions

View File

@ -200,10 +200,12 @@ namespace osu.Game.Tests.Visual.Collections
AddStep("click confirmation", () =>
{
InputManager.MoveMouseTo(dialogOverlay.CurrentDialog.ChildrenOfType<PopupDialogButton>().First());
InputManager.Click(MouseButton.Left);
InputManager.PressButton(MouseButton.Left);
});
assertCollectionCount(0);
AddStep("release mouse button", () => InputManager.ReleaseButton(MouseButton.Left));
}
[Test]