mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Fix formatting of right separator center x assignment
This commit is contained in:
parent
95dc0d6e38
commit
8b62826139
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue