Fix settings window is minimized when re-opened

This commit is contained in:
VictoriousRaptor 2026-03-10 21:47:14 +08:00
parent a406eb83e1
commit 9d91efc197

View file

@ -169,7 +169,9 @@ public partial class SettingWindow
SetWindowPosition(top, left); SetWindowPosition(top, left);
} }
WindowState = _settings.SettingWindowState; WindowState = _settings.SettingWindowState == WindowState.Minimized
? WindowState.Normal
: _settings.SettingWindowState;
} }
private void SetWindowPosition(double top, double left) private void SetWindowPosition(double top, double left)