mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: out of range of u16
This commit is contained in:
parent
1a2798eb15
commit
cdd20f8510
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ function Folder:markers(area, markers)
|
|||
local append = function(last)
|
||||
local p = ui.Paragraph(
|
||||
ui.Rect {
|
||||
x = area.x - 1,
|
||||
x = math.max(1, area.x) - 1,
|
||||
y = area.y + last[1] - 1,
|
||||
w = 1,
|
||||
h = 1 + last[2] - last[1],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue