[bugfix] remove WinGetPosEx
This commit is contained in:
parent
3c051ec2ac
commit
3e4e140e9f
|
@ -187,7 +187,7 @@ MoveActiveWinByDirection(direction) {
|
||||||
LogDebug("left geometry: x: {1}, y: {2}, w: {3}, h: {4}", wx, wy, ww, wh)
|
LogDebug("left geometry: x: {1}, y: {2}, w: {3}, h: {4}", wx, wy, ww, wh)
|
||||||
; right
|
; right
|
||||||
if (direction = "right") {
|
if (direction = "right") {
|
||||||
wx := wx + ww
|
wx := wx + ww + floor(PADDING / 2)
|
||||||
ww := w - ww
|
ww := w - ww
|
||||||
LogDebug("right geometry: x: {1}, y: {2}, w: {3}, h: {4}", wx, wy, ww, wh)
|
LogDebug("right geometry: x: {1}, y: {2}, w: {3}, h: {4}", wx, wy, ww, wh)
|
||||||
} else {
|
} else {
|
||||||
|
@ -199,7 +199,6 @@ MoveActiveWinByDirection(direction) {
|
||||||
ww := ww + l + r
|
ww := ww + l + r
|
||||||
wh := wh + t + b
|
wh := wh + t + b
|
||||||
; padding
|
; padding
|
||||||
wx := wx + floor(PADDING / 2)
|
|
||||||
ww := ww - floor(PADDING * 1.5)
|
ww := ww - floor(PADDING * 1.5)
|
||||||
wy := wy + PADDING
|
wy := wy + PADDING
|
||||||
wh := wh - PADDING * 2
|
wh := wh - PADDING * 2
|
||||||
|
|
|
@ -32,7 +32,6 @@ LogDebug(params*) {
|
||||||
InitWindowManager()
|
InitWindowManager()
|
||||||
InitClipboardManager()
|
InitClipboardManager()
|
||||||
#Include, ahk\JSON.ahk
|
#Include, ahk\JSON.ahk
|
||||||
#Include, ahk\WinGetPosEx.ahk
|
|
||||||
#Include, ahk\WindowManager.ahk
|
#Include, ahk\WindowManager.ahk
|
||||||
#Include, ahk\ClipboardManager.ahk
|
#Include, ahk\ClipboardManager.ahk
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user