Make sure to not show main window if app should start minimized

Not a great fix. Related to issue #514.
This commit is contained in:
Travis Nickles 2018-12-14 02:04:45 -06:00
parent 4d5ff945d8
commit c2d26f30ce

View File

@ -390,7 +390,8 @@ namespace DS4Windows
instance = this; instance = this;
this.Resize += Form_Resize; this.Resize += Form_Resize;
this.LocationChanged += TrackLocationChanged; this.LocationChanged += TrackLocationChanged;
Form_Resize(null, null); if (!(StartMinimized || mini))
Form_Resize(null, null);
Program.rootHub.Debug += On_Debug; Program.rootHub.Debug += On_Debug;