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

@ -134,7 +134,7 @@ func NecessaryFeaturesFor(patch sointu.Patch) NecessaryFeatures {
features.supportsParamValue[key][v] = true
}
if unit.Type == "send" {
targetInstrIndex, targetUnitIndex, err := patch.FindSendTarget(unit.Parameters["target"])
targetInstrIndex, targetUnitIndex, err := patch.FindUnit(unit.Parameters["target"])
if err != nil {
continue
}