Skip to content

Commit

Permalink
Fix issue( #104
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Jul 15, 2024
1 parent 389d97c commit c308669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WPFDevelopers.Shared/Controls/MessageBox/MessageBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private static MessageBoxResult GetWindow(WDMessageBox msg, Window owner = null)
else
{
var win = ControlsHelper.GetDefaultWindow();
if (win != null)
if (win != null && win != msg)
{
if (win.WindowState == WindowState.Minimized)
msg.BorderThickness = new Thickness(1);
Expand Down

0 comments on commit c308669

Please sign in to comment.