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

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 ++
}}
}