mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-21 08:09:49 -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
@@ -27,7 +27,7 @@
|
||||
<ProductName>ColorControl</ProductName>
|
||||
<PublisherName>Maassoft</PublisherName>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.3.4.0</ApplicationVersion>
|
||||
<ApplicationVersion>1.3.5.0</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.3.4.0")]
|
||||
[assembly: AssemblyFileVersion("1.3.4.0")]
|
||||
[assembly: AssemblyVersion("1.3.5.0")]
|
||||
[assembly: AssemblyFileVersion("1.3.5.0")]
|
||||
Reference in new issue
Block a user