diff --git a/src/power-flow-card.ts b/src/power-flow-card.ts index 08d8e3c6..4600e326 100644 --- a/src/power-flow-card.ts +++ b/src/power-flow-card.ts @@ -309,10 +309,12 @@ export class PowerFlowCard extends LitElement { this.previousDur[flowName] && this.previousDur[flowName] !== newDur[flowName] ) { + flowSVGElement.pauseAnimations(); flowSVGElement.setCurrentTime( flowSVGElement.getCurrentTime() * (newDur[flowName] / this.previousDur[flowName]) ); + flowSVGElement.unpauseAnimations(); } this.previousDur[flowName] = newDur[flowName]; });