fixup! [listframes] cache estimatedTotalHeight

This commit is contained in:
Ben 2024-06-02 20:44:22 +02:00
parent 419cb82a2d
commit 9c8d245156
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -98,7 +98,7 @@ local function updateItemAt(idx, item)
end end
local function clearFrom(idx) local function clearFrom(idx)
estimatedTotalHeight = (idx-1).."?" estimatedTotalHeight = idx-1
local tw, th = frame.getSize() local tw, th = frame.getSize()
for j = length, idx, -1 do for j = length, idx, -1 do
backingList[j] = nil backingList[j] = nil