Check for visibility of children panel in calculateAbsoluteObstructingRectangles
This commit is contained in:
parent
831e49c796
commit
40f001fb58
@ -646,7 +646,7 @@ open class EditablePanel<out S : Screen> @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
for (children in visibleChildrenInternal) {
|
||||
if (children.isOutsideOfParent || !isObstructing) {
|
||||
if ((children.isOutsideOfParent || !isObstructing) && children.isVisible()) {
|
||||
result.addAll(children.calculateAbsoluteObstructingRectangles())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user