Digital gauge: fix data displaying in mobile browser
This commit is contained in:
parent
8e6bd7aebc
commit
7cd44d5577
@ -397,7 +397,7 @@ export default class TbCanvasDigitalGauge {
|
||||
}
|
||||
var value = tvPair[1];
|
||||
if(value !== this.gauge.value) {
|
||||
if (!this.ctx.settings.animation) {
|
||||
if (!this.ctx.settings.animation || this.ctx.isMobile) {
|
||||
this.gauge._value = value;
|
||||
}
|
||||
this.gauge.value = value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user