[listframes] use previous frame height
for repositionOrCreateEntryFrame.
This commit is contained in:
parent
7616a5bed3
commit
8972bf27e5
|
@ -68,7 +68,8 @@ local function repositionOrCreateEntryFrame(idx)
|
||||||
if previousFrame ~= nil then
|
if previousFrame ~= nil then
|
||||||
local xPos
|
local xPos
|
||||||
xPos, yPos = previousFrame.getPosition()
|
xPos, yPos = previousFrame.getPosition()
|
||||||
yPos = yPos + 1
|
local xSize, ySize = previousFrame.getSize()
|
||||||
|
yPos = yPos + ySize
|
||||||
end
|
end
|
||||||
local tw, th = frame.getSize()
|
local tw, th = frame.getSize()
|
||||||
local entryFrame = subFrames[idx]
|
local entryFrame = subFrames[idx]
|
||||||
|
|
Loading…
Reference in a new issue