From 8b62826139767f03949da3080475164107a3dee9 Mon Sep 17 00:00:00 2001 From: WINLAIC Date: Wed, 15 Apr 2026 17:12:52 +0800 Subject: [PATCH] Fix formatting of right separator center x assignment --- yazi-plugin/preset/components/root.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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