refactor: rename FindSendTarget to FindUnit

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2023-10-19 13:31:34 +03:00
parent 43707e5fd6
commit 64270eaf68
5 changed files with 14 additions and 14 deletions

View File

@ -125,7 +125,7 @@ func (p ParameterStyle) Layout(gtx C) D {
var unitItems []MenuItem
instrName := "<instr>"
unitName := "<unit>"
targetI, targetU, err := p.tracker.Song().Patch.FindSendTarget(p.Parameter.Value)
targetI, targetU, err := p.tracker.Song().Patch.FindUnit(p.Parameter.Value)
if err == nil {
targetInstrument := p.tracker.Song().Patch[targetI]
instrName = targetInstrument.Name