Fix redraw not iterating backingIdx
This commit is contained in:
parent
9b3c145438
commit
20a4488a64
|
@ -54,10 +54,13 @@ local function redraw()
|
|||
local tw, th = frame.getSize()
|
||||
local backingIdx = paginationOffset
|
||||
for idx = 1, th, 1 do
|
||||
if backingList[backingIdx] ~= nil then
|
||||
frame.setCursorPos(1, idx)
|
||||
frame.setCursorPos(1, idx)
|
||||
if backingList[backingIdx] == nil then
|
||||
frame.clearLine()
|
||||
else
|
||||
drawLine(frame, backingList[backingIdx])
|
||||
end
|
||||
backingIdx = backingIdx + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue