diff options
Diffstat (limited to 'drm.ahk')
-rw-r--r-- | drm.ahk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,12 +122,12 @@ Save(ByRef Positions) ; Calculate position relative to right/bottom if necessary Align := 1 ; to align right, this should be divisible by 3; bottom, by 5 - if (x > Width / 2) + if (x > Width - (x + w)) { Align := Align * 3 rx := (Width - (x + w)) / Width } - if (y > Height / 2) + if (y > Height - (y + h)) { Align := Align * 5 ry := (Height - (y + h)) / Height |