Skip to content

Commit

Permalink
finally corrected the resizing of the window
Browse files Browse the repository at this point in the history
  • Loading branch information
Valkirie committed Jan 4, 2022
1 parent 993de60 commit 12d05ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ControllerHelper/ControllerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public partial class ControllerHelper : Form

private MouseHook m_Hook;

private FormWindowState prevWindowState = FormWindowState.Normal;
private FormWindowState prevWindowState;
private object updateLock = new();

public string CurrentExe, CurrentPath, CurrentPathService, CurrentPathProfiles, CurrentPathLogs;
Expand Down Expand Up @@ -294,9 +294,6 @@ public void UpdateProcess(int ProcessId, string ProcessPath, string ProcessName)

private void ControllerHelper_Resize(object sender, EventArgs e)
{
if (prevWindowState == WindowState)
return;

switch (WindowState)
{
case FormWindowState.Minimized:
Expand Down

0 comments on commit 12d05ac

Please sign in to comment.