Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Feb 13, 2025
1 parent e9b4780 commit 5ac7093
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions JL.Windows/GUI/PopupWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2066,9 +2066,16 @@ private void Window_PreviewMouseDown(object sender, MouseButtonEventArgs e)
ShowMiningModeResults();
}

else if (ChildPopupWindow is { IsVisible: true, MiningMode: false })
else if (ChildPopupWindow?.IsVisible ?? false)
{
ChildPopupWindow.ShowMiningModeResults();
if (!ChildPopupWindow.MiningMode)
{
ChildPopupWindow.ShowMiningModeResults();
}
else
{
PopupWindowUtils.HidePopups(ChildPopupWindow);
}
}
}
}
Expand Down

0 comments on commit 5ac7093

Please sign in to comment.