Table's rebuildChildList method works properly

This commit is contained in:
Sasha Koshka 2023-04-03 20:06:17 -04:00
parent 941f6f6576
commit ff51777834
1 changed files with 2 additions and 0 deletions

View File

@ -240,7 +240,9 @@ func (element *TableContainer) rebuildChildList (list []tomo.Element) {
index := 0
for _, row := range element.grid {
for _, child := range row {
if child.Element == nil { continue }
list[index] = child.Element
index ++
}}
}