mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 05:24:48 -04:00
refactor: rename FindSendTarget to FindUnit
This commit is contained in:
parent
43707e5fd6
commit
64270eaf68
@ -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
|
||||
|
Reference in New Issue
Block a user