Adjust Stage Editor exit confirm prompt

This commit is contained in:
Hundrec
2025-09-15 03:02:15 +08:00
parent b31be1043c
commit a7d5736e14
@@ -1259,7 +1259,7 @@ class StageEditorState extends UIState
{
if (exitConfirmDialog == null)
{
exitConfirmDialog = Dialogs.messageBox("You are about to leave the Editor without Saving.\n\nAre you sure? ", "Leave Editor",
exitConfirmDialog = Dialogs.messageBox("You are about to leave the editor without saving.\n\nAre you sure? ", "Leave Editor",
MessageBoxType.TYPE_YESNO, true, function(btn:DialogButton) {
exitConfirmDialog = null;
if (btn == DialogButton.YES)