Digital Gauge fix in update() - change strict to loose inequality

This commit is contained in:
Artem Babak 2023-02-22 12:06:24 +02:00
parent 0791e04c09
commit 42ade3ee3a

View File

@ -406,7 +406,7 @@ export class TbCanvasDigitalGauge {
filter.transform(timestamp, this.localSettings.timestampFormat); filter.transform(timestamp, this.localSettings.timestampFormat);
} }
const value = tvPair[1]; const value = tvPair[1];
if (value !== this.gauge.value) { if (value != this.gauge.value) {
if (!this.gauge.options.animation) { if (!this.gauge.options.animation) {
this.gauge._value = value; this.gauge._value = value;
} }