暂时更改一部分Skill

This commit is contained in:
chfei committed 2026-10-27 19:01:56 +08:00
1 parent 84b28f9672
commit 6d4629e4ac
53 files changed
+5293 -10

No files matched your search

@@ -36,7 +36,10 @@ public partial class DialogWindow : WindowBase, IDialogWindow
public DialogWindow()
{
InitializeComponent();
Owner = Application.Current.MainWindow;
if (Application.Current.MainWindow is Window owner && !ReferenceEquals(owner, this))
{
Owner = owner;
}
isConstructorSuccessful = true;
dialogWindowStyle = (Style)TryFindResource("DialogWindowStyle");