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