TooB Parametric EQ UI
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user