Always override line in redrawLine
This commit is contained in:
parent
5bbd42d461
commit
e0ec33e387
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue