Fixed issue in function fitAll: mini windows containers was exceeding the size of the panels.

This commit is contained in:
dalvorsn 2016-04-24 18:25:21 -03:00
父節點 fa3068f6e6
當前提交 a165bef741
共有 1 個文件被更改,包括 1 次插入1 次删除

查看文件

@ -69,7 +69,7 @@ function UIMiniWindowContainer:fitAll(noRemoveChild)
end
local child = children[i]
if child ~= noRemoveChild then
if child ~= noRemoveChild and child:isVisible() then
local childHeight = child:getHeight()
sumHeight = sumHeight - childHeight
table.insert(removeChildren, child)