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 tw, th = frame.getSize()
|
||||||
local backingIdx = paginationOffset
|
local backingIdx = paginationOffset
|
||||||
for idx = 1, th, 1 do
|
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])
|
drawLine(frame, backingList[backingIdx])
|
||||||
end
|
end
|
||||||
|
backingIdx = backingIdx + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue