fixup! [listframes] cache estimatedTotalHeight
This commit is contained in:
parent
419cb82a2d
commit
9c8d245156
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue