fixup! Fix string formatting in debug logging
This commit is contained in:
parent
8711c0e08e
commit
4f001f5053
|
@ -60,7 +60,7 @@ local function redrawEntry(idx)
|
||||||
local xPos, yPos = entryFrame.getPosition()
|
local xPos, yPos = entryFrame.getPosition()
|
||||||
local xSize, ySize = entryFrame.getSize()
|
local xSize, ySize = entryFrame.getSize()
|
||||||
local visible = (yPos+ySize-1) >= paginationPos and yPos <= th
|
local visible = (yPos+ySize-1) >= paginationPos and yPos <= th
|
||||||
debugLog.writeLine(string.format("[redrawEntry] idx=%d, yPos=%d, visible=%t", idx, yPos, visible))
|
debugLog.writeLine(string.format("[redrawEntry] idx=%d, yPos=%d, visible=%s", idx, yPos, tostring(visible)))
|
||||||
debugLog.flush()
|
debugLog.flush()
|
||||||
entryFrame.setVisible(visible)
|
entryFrame.setVisible(visible)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue