Display tuner control for 3rd-party output controls that have unit:hz
This commit is contained in:
@@ -478,7 +478,7 @@ export class UiControl implements Deserializable<UiControl> {
|
|||||||
this.controlType = ControlType.Dial;
|
this.controlType = ControlType.Dial;
|
||||||
|
|
||||||
if (!this.is_input) {
|
if (!this.is_input) {
|
||||||
if (this.units === Units.midiNote) {
|
if (this.units === Units.midiNote || this.units === Units.hz) {
|
||||||
this.controlType = ControlType.Tuner;
|
this.controlType = ControlType.Tuner;
|
||||||
|
|
||||||
} else if (this.units === Units.db) {
|
} else if (this.units === Units.db) {
|
||||||
|
|||||||
Reference in New Issue
Block a user