From 80ffc377cab429c76f6e176486f0abb4dd5018ee Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 1 Sep 2024 16:50:17 +0800 Subject: [PATCH] fix: `Rail` component should have a higher rendering priority --- 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