1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-12 19:20:28 +00:00

Update wpath.lua

This commit is contained in:
LDDestroier 2020-02-08 00:58:50 -05:00 committed by GitHub
parent 23d1868801
commit 1b9ed0973b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,8 @@ local render = function(shift,mon)
line = bow:rep(scr_x):sub(1,scr_x)
local text = ("#"):rep(scr_x)
if wpath.doFlip then
txcol = wrap(line, -1*math.abs(scr_y/2-y)+shift-1)
bgcol = wrap(line, -1*math.abs(scr_y/2-y)+shift)
txcol = wrap(line:reverse(), -1*math.abs(scr_y/2-y)+shift-1)
bgcol = wrap(line:reverse(), -1*math.abs(scr_y/2-y)+shift)
else
txcol = wrap(line, -1*math.abs(y-scr_y/2)+shift-1)
bgcol = wrap(line, -1*math.abs(y-scr_y/2)+shift)