mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-21 16:12:18 -05:00
fix crash on startup when scaling is not 100%
This commit is contained in:
1 parent
f46fcbfbd4
commit
067b6d7b99
3 files changed
+4
-4
No files matched your search
@@ -675,7 +675,7 @@ namespace ColorControl
|
||||
{
|
||||
Hide();
|
||||
}
|
||||
else if (WindowState == FormWindowState.Normal)
|
||||
else if (WindowState == FormWindowState.Normal && _config != null)
|
||||
{
|
||||
_config.FormWidth = Width;
|
||||
_config.FormHeight = Height;
|
||||
|
||||
Reference in new issue
Block a user