mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:12:59 +08:00
Merge pull request #24962 from Joehuu/flash-discard-playlist-dialog
This commit is contained in:
commit
98f50eb8d5
@ -371,8 +371,11 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
// if the dialog is already displayed, block exiting until the user explicitly makes a decision.
|
// if the dialog is already displayed, block exiting until the user explicitly makes a decision.
|
||||||
if (dialogOverlay.CurrentDialog is ConfirmDiscardChangesDialog)
|
if (dialogOverlay.CurrentDialog is ConfirmDiscardChangesDialog discardChangesDialog)
|
||||||
|
{
|
||||||
|
discardChangesDialog.Flash();
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
dialogOverlay.Push(new ConfirmDiscardChangesDialog(() =>
|
dialogOverlay.Push(new ConfirmDiscardChangesDialog(() =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user