chore: close #1262

This commit is contained in:
NaBian committed 2022-10-02 15:46:12 +08:00
1 parent c64e1a7dbd
commit 52541104fa
1 file changed
+1 -1
@@ -457,7 +457,7 @@ public sealed class MessageBox : Window
{ {
Message = messageBoxText, Message = messageBoxText,
Owner = ownerWindow, Owner = ownerWindow,
WindowStartupLocation = WindowStartupLocation.CenterScreen, WindowStartupLocation = ownerIsNull ? WindowStartupLocation.CenterScreen : WindowStartupLocation.CenterOwner,
ShowTitle = true, ShowTitle = true,
Title = caption ?? string.Empty, Title = caption ?? string.Empty,
Topmost = ownerIsNull, Topmost = ownerIsNull,