Always override line in redrawLine

This commit is contained in:
Ben 2024-06-02 01:52:02 +02:00
parent 5bbd42d461
commit e0ec33e387
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -13,10 +13,13 @@ local function setDrawLineFunc(drawLineFunc)
end
local function redrawLine(idx)
if drawLine then
local tw, th = frame.getSize()
if idx >= paginationOffset and idx-paginationOffset <= th then
frame.setCursorPos(1,idx-paginationOffset+1)
frame.setBackgroundColor(colors.red)
frame.clearLine()
frame.setBackgroundColor(colors.black)
if drawLine then
drawLine(frame, backingList[idx])
end
end