Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzxs committed Jul 30, 2022
1 parent c69c4e2 commit c91ea0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions menu.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -1260,9 +1260,11 @@ WM_LBUTTONDOWN(wParam, lParam, msg, hwnd)
PostMessage, 0xA1, 2 ; WM_NCLBUTTONDOWN
KeyWait, LButton, U
WinGetPos, X, Y, W, H, ahk_id %MyGuiHwnd%
log.info(MyGuiHwnd, x, y, w, h)
g_config.win_x := X
g_config.win_y := Y
g_config.win_w := W
saveconfig(g_config)
if(x != "" && y != "" && W != "")
{
g_config.win_x := X
g_config.win_y := Y
g_config.win_w := W
saveconfig(g_config)
}
}
Binary file modified menu.exe
Binary file not shown.

0 comments on commit c91ea0f

Please sign in to comment.