fixup! Fix string formatting in debug logging

This commit is contained in:
Ben 2024-06-02 19:52:16 +02:00
parent 8711c0e08e
commit 4f001f5053
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -60,7 +60,7 @@ local function redrawEntry(idx)
local xPos, yPos = entryFrame.getPosition()
local xSize, ySize = entryFrame.getSize()
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()
entryFrame.setVisible(visible)
end