[listframes] use previous frame height

for repositionOrCreateEntryFrame.
This commit is contained in:
Ben 2024-06-02 16:49:29 +02:00
parent 7616a5bed3
commit 8972bf27e5
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -68,7 +68,8 @@ local function repositionOrCreateEntryFrame(idx)
if previousFrame ~= nil then
local xPos
xPos, yPos = previousFrame.getPosition()
yPos = yPos + 1
local xSize, ySize = previousFrame.getSize()
yPos = yPos + ySize
end
local tw, th = frame.getSize()
local entryFrame = subFrames[idx]