Merge branch 'master' into first-run-setup

This commit is contained in:
Bartłomiej Dach
2022-04-21 22:14:57 +02:00
56 changed files with 210 additions and 203 deletions

View File

@ -118,7 +118,7 @@ namespace osu.Game.Tests.Visual
public new bool HasUnsavedChanges => base.HasUnsavedChanges;
public override bool OnExiting(IScreen next)
public override bool OnExiting(ScreenExitEvent e)
{
// For testing purposes allow the screen to exit without saving on second attempt.
if (!ExitConfirmed && dialogOverlay?.CurrentDialog is PromptForSaveDialog saveDialog)
@ -127,7 +127,7 @@ namespace osu.Game.Tests.Visual
return true;
}
return base.OnExiting(next);
return base.OnExiting(e);
}
public TestEditor(EditorLoader loader = null)