From b99acbdfbadad8341cf8098ed0f8c0c5e1635faa Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Mon, 21 Oct 2024 22:11:49 -0400 Subject: [PATCH] Display tuner control for 3rd-party output controls that have unit:hz --- react/src/Lv2Plugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/src/Lv2Plugin.tsx b/react/src/Lv2Plugin.tsx index d0b0b2b..29b54c3 100644 --- a/react/src/Lv2Plugin.tsx +++ b/react/src/Lv2Plugin.tsx @@ -478,7 +478,7 @@ export class UiControl implements Deserializable { this.controlType = ControlType.Dial; if (!this.is_input) { - if (this.units === Units.midiNote) { + if (this.units === Units.midiNote || this.units === Units.hz) { this.controlType = ControlType.Tuner; } else if (this.units === Units.db) {