Tick only visible children
This commit is contained in:
parent
f97ec55e0c
commit
6e0ccf35fe
@ -1576,7 +1576,7 @@ open class EditablePanel<out S : Screen> @JvmOverloads constructor(
|
||||
open fun tick() {
|
||||
tick++
|
||||
|
||||
for (child in Array(childrenInternal.size) { childrenInternal[it] }) {
|
||||
for (child in Array(visibleChildrenInternal.size) { visibleChildrenInternal[it] }) {
|
||||
child.tick()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user