Commit dbf8bf67330c826974204f8827aa2d4d75352bfa
Committed by
Andrew Shvayka
1 parent
1c3b956e
set lib attribute "animatedValue" to "true" in analogue-gauge.models.ts
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -1002,7 +1002,8 @@ export abstract class TbAnalogueGauge<S extends AnalogueGaugeSettings, O extends | @@ -1002,7 +1002,8 @@ export abstract class TbAnalogueGauge<S extends AnalogueGaugeSettings, O extends | ||
1002 | // animations | 1002 | // animations |
1003 | animation: settings.animation !== false && !this.ctx.isMobile, | 1003 | animation: settings.animation !== false && !this.ctx.isMobile, |
1004 | animationDuration: (isDefined(settings.animationDuration) && settings.animationDuration !== null) ? settings.animationDuration : 500, | 1004 | animationDuration: (isDefined(settings.animationDuration) && settings.animationDuration !== null) ? settings.animationDuration : 500, |
1005 | - animationRule: settings.animationRule || 'cycle' | 1005 | + animationRule: settings.animationRule || 'cycle', |
1006 | + animatedValue: true | ||
1006 | } as O; | 1007 | } as O; |
1007 | 1008 | ||
1008 | this.prepareGaugeOptions(settings, gaugeData); | 1009 | this.prepareGaugeOptions(settings, gaugeData); |