[bugfix] minus adjustment

This commit is contained in:
Klesh Wong 2021-06-04 00:01:56 +08:00
parent a1d36d6fa5
commit 00f797240b
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
"cursorShape": "filledBox", "cursorShape": "filledBox",
// https://github.com/laishulu/Sarasa-Mono-SC-Nerd/releases/latest // https://github.com/laishulu/Sarasa-Mono-SC-Nerd/releases/latest
"fontFace": "Sarasa Mono SC Nerd", "fontFace": "Sarasa Mono SC Nerd",
"fontSize": 10 "fontSize": 12
}, },
"list": [ "list": [
{ {

View File

@ -168,7 +168,7 @@ MoveActiveWinByDirection(direction) {
GetCursorMonGeometry(x, y, w, h) GetCursorMonGeometry(x, y, w, h)
activeWinId := WinExist("A") activeWinId := WinExist("A")
WinGetPosEx(activeWinId, wx, wy, ww, wh, l, t, r, b) WinGetPosEx(activeWinId, wx, wy, ww, wh, l, t, r, b)
wx := x wx := x
wy := y wy := y
ww := floor(w * RATIO) ww := floor(w * RATIO)
wh := h wh := h
@ -186,4 +186,4 @@ ToggleActiveWinMaximum() {
} else { } else {
WinMaximize, A WinMaximize, A
} }
} }