1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 02:22:55 +08:00

Few new rider inspection

This commit is contained in:
Dean Herbert 2024-01-04 16:39:50 +09:00
parent 0f11743fff
commit b1813b17a2
No known key found for this signature in database

View File

@ -104,7 +104,7 @@ namespace osu.Game.Tests.Visual.Editing
if (sameRuleset) if (sameRuleset)
{ {
AddUntilStep("prompt for save dialog shown", () => DialogOverlay.CurrentDialog is PromptForSaveDialog); 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. // ensure editor loader didn't resume.