diff --git a/yazi-plugin/preset/components/root.lua b/yazi-plugin/preset/components/root.lua index 5ffdbaec..621c8b45 100644 --- a/yazi-plugin/preset/components/root.lua +++ b/yazi-plugin/preset/components/root.lua @@ -63,7 +63,7 @@ function Root:click(event, up) if tab and tab._chunks then local c = tab._chunks 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 Root._drag_which = "left" return