UrsaWindow Only trigger OnClosing event once when click Close Button

This commit is contained in:
Dameng
2024-11-03 20:18:56 +08:00
parent bad4c90a9d
commit 0b0db32bfe

View File

@@ -117,6 +117,7 @@ public class UrsaWindow: Window
if (_canClose)
{
Close();
return;
}
}
base.OnClosing(e);