1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 21:15:31 +08:00

Few new rider inspection

This commit is contained in:
Dean Herbert
2024-01-04 16:39:50 +09:00
Unverified
parent 0f11743fff
commit b1813b17a2
@@ -104,7 +104,7 @@ namespace osu.Game.Tests.Visual.Editing
if (sameRuleset)
{
AddUntilStep("prompt for save dialog shown", () => DialogOverlay.CurrentDialog is PromptForSaveDialog);
AddStep("discard changes", () => ((PromptForSaveDialog)DialogOverlay.CurrentDialog).PerformOkAction());
AddStep("discard changes", () => ((PromptForSaveDialog)DialogOverlay.CurrentDialog)?.PerformOkAction());
}
// ensure editor loader didn't resume.