Fix formatting of right separator center x assignment

This commit is contained in:
WINLAIC 2026-04-15 17:12:52 +08:00 committed by sxyazi
parent 95dc0d6e38
commit 8b62826139
No known key found for this signature in database

View file

@ -63,7 +63,7 @@ function Root:click(event, up)
if tab and tab._chunks then if tab and tab._chunks then
local c = tab._chunks local c = tab._chunks
local lx = c[2].x - 1 -- left separator center x local lx = c[2].x - 1 -- left separator center x
local rx = c[3].x -- right separator center x local rx = c[3].x -- right separator center x
if c[1].w > 0 and event.x >= lx - 1 and event.x <= lx + 1 then if c[1].w > 0 and event.x >= lx - 1 and event.x <= lx + 1 then
Root._drag_which = "left" Root._drag_which = "left"
return return