make-containers-better #10
@ -286,7 +286,7 @@ func (propagator *Propagator) forChildrenReverse (callback func (child elements.
|
|||||||
for index := propagator.parent.CountChildren() - 1; index > 0; index -- {
|
for index := propagator.parent.CountChildren() - 1; index > 0; index -- {
|
||||||
child := propagator.parent.Child(index)
|
child := propagator.parent.Child(index)
|
||||||
if child == nil { continue }
|
if child == nil { continue }
|
||||||
if callback(child) { break }
|
if !callback(child) { break }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user