TooB Parametric EQ UI

This commit is contained in:
Robin E. R. Davies
2025-09-01 15:59:29 -04:00
parent 865ac45bda
commit 5434f40ca1
27 changed files with 1375 additions and 132 deletions
+9
View File
@@ -647,6 +647,10 @@ export class UiControl implements Deserializable<UiControl> {
}
return this;
}
clone() {
return new UiControl().deserialize(this);
}
applyProperties(properties: Partial<UiControl>): UiControl {
return { ...this, ...properties };
}
@@ -879,6 +883,11 @@ export class UiControl implements Deserializable<UiControl> {
case Units.pc:
text += "%";
break;
case Units.unknown:
if (this.custom_units !== "") {
text = this.custom_units.replace("%f",text);
}
break;
default:
break;