From 3a2dd30166bdc04ad766c2173db4a2a0b6ce4d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E9=9B=85=20=C2=B7=20Misaki=20Masa?= Date: Sun, 1 Sep 2024 16:51:05 +0800 Subject: [PATCH] fix: `Rail` component should have a higher rendering priority (#1585) --- yazi-plugin/preset/components/tab.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-plugin/preset/components/tab.lua b/yazi-plugin/preset/components/tab.lua index b0928aa7..7d7abdc5 100644 --- a/yazi-plugin/preset/components/tab.lua +++ b/yazi-plugin/preset/components/tab.lua @@ -22,10 +22,10 @@ end function Tab:build() self._children = { - Rail:new(self._chunks, self._tab), Parent:new(self._chunks[1]:padding(ui.Padding.x(1)), self._tab), Current:new(self._chunks[2], self._tab), Preview:new(self._chunks[3]:padding(ui.Padding.x(1)), self._tab), + Rail:new(self._chunks, self._tab), } end