make-containers-better #10

Merged
sashakoshka merged 20 commits from make-containers-better into main 2023-03-04 14:26:34 -07:00
Showing only changes of commit 90ce0d7281 - Show all commits

View File

@ -277,8 +277,8 @@ func (propagator *Propagator) focusLastFocusableElement (
func (propagator *Propagator) forChildren (callback func (child elements.Element) bool) {
for index := 0; index < propagator.parent.CountChildren(); index ++ {
child := propagator.parent.Child(index)
if child == nil { continue }
if callback(child) { break }
if child == nil { continue }
if !callback(child) { break }
}
}