Commit 34a9214c90da2bf0b3c0d4eef39b70a03d92e3bd

Authored by Igor Kulikov
Committed by GitHub
2 parents 8e6bd7ae 7cd44d55

Merge pull request #2820 from ChantsovaEkaterina/bug/digital-gauge-data-displaying-mobile

[2.5.1]Digital gauge: fix data displaying in mobile browser
@@ -397,7 +397,7 @@ export default class TbCanvasDigitalGauge { @@ -397,7 +397,7 @@ export default class TbCanvasDigitalGauge {
397 } 397 }
398 var value = tvPair[1]; 398 var value = tvPair[1];
399 if(value !== this.gauge.value) { 399 if(value !== this.gauge.value) {
400 - if (!this.ctx.settings.animation) { 400 + if (!this.ctx.settings.animation || this.ctx.isMobile) {
401 this.gauge._value = value; 401 this.gauge._value = value;
402 } 402 }
403 this.gauge.value = value; 403 this.gauge.value = value;