diff --git a/src/animation/morphing.ts b/src/animation/morphing.ts index 0414777873..7c30a9d8f7 100644 --- a/src/animation/morphing.ts +++ b/src/animation/morphing.ts @@ -183,13 +183,12 @@ function oneToOne( const animation = pathShape.animate(keyframes, timeEffect); animation.onfinish = () => { + pathShape.style.transform = 'none'; copyAttributes(pathShape, to); }; // Remove transform because it already applied in path // converted by convertToPath. - // @todo Remove this scale(1, 1) - pathShape.style.transform = 'scale(1, 1)'; pathShape.style.transform = 'none'; return animation; }