refactor: update for Yazi v25.2.26

This commit is contained in:
sxyazi
2025-03-02 22:34:26 +08:00
parent 5186af7984
commit 3d0c7c6be9
11 changed files with 31 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
--- @since 25.2.7
--- @since 25.2.26
local function setup(_, opts)
local type = opts and opts.type or ui.Border.ROUNDED
@@ -24,7 +24,7 @@ local function setup(_, opts)
c[3]:pad(ui.Pad.y(1)),
}
local style = THEME.manager.border_style
local style = th.mgr.border_style
self._base = ya.list_merge(self._base or {}, {
ui.Border(ui.Border.ALL):area(self._area):type(type):style(style),
ui.Bar(ui.Bar.RIGHT):area(self._chunks[1]):style(style),