--- a/svghmi/widgets_common.ysl2 Wed Jan 19 08:56:16 2022 +0100
+++ b/svghmi/widgets_common.ysl2 Wed Jan 19 11:41:04 2022 +0100
@@ -174,7 +174,6 @@
constructor(elt_id, freq, args, indexes, minmaxes, members){
this.element_id = elt_id;
this.element = id(elt_id);
- if(freq !== undefined) this.frequency = freq;
this.args = args;
this.indexes = indexes;
this.minmaxes = minmaxes;
@@ -183,6 +182,7 @@
this.inhibit = indexes.map(() => undefined);
this.pending = indexes.map(() => undefined);
this.bound_unhinibit = this.unhinibit.bind(this);
+ this.forced_frequency = freq;
}
unsub(){