mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
refactor(tracker): change Iterate() func(yield):s to Iterate(yield)
This commit is contained in:
parent
3986bbede7
commit
b494a69a76
@ -102,7 +102,7 @@ func (pe *UnitEditor) layoutSliders(gtx C, t *Tracker) D {
|
||||
}
|
||||
|
||||
index := 0
|
||||
for param := range t.Model.Params().Iterate() {
|
||||
for param := range t.Model.Params().Iterate {
|
||||
pe.Parameters[index].Parameter = param
|
||||
index++
|
||||
}
|
||||
@ -176,7 +176,7 @@ func (pe *UnitEditor) layoutFooter(gtx C, t *Tracker) D {
|
||||
|
||||
func (pe *UnitEditor) layoutUnitTypeChooser(gtx C, t *Tracker) D {
|
||||
var names [256]string
|
||||
for i, item := range t.Model.SearchResults().Iterate() {
|
||||
for i, item := range t.Model.SearchResults().Iterate {
|
||||
if i >= 256 {
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user