From 25754dbec967d9896f62b9733f5e0aa817724e60 Mon Sep 17 00:00:00 2001 From: gtktsc Date: Mon, 3 Apr 2023 21:34:42 +0200 Subject: [PATCH] fix: remove unused var --- src/shapes/TextPath.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/shapes/TextPath.ts b/src/shapes/TextPath.ts index 29d2bed9..f57542dd 100644 --- a/src/shapes/TextPath.ts +++ b/src/shapes/TextPath.ts @@ -75,7 +75,6 @@ function _strokeFunc(context) { export class TextPath extends Shape { dummyCanvas = Util.createCanvasElement(); dataArray = []; - path: SVGPathElement | undefined; glyphInfo: Array<{ transposeX: number; transposeY: number; @@ -123,7 +122,6 @@ export class TextPath extends Shape { _readDataAttribute() { this.dataArray = Path.parsePathData(this.attrs.data); - this.path = undefined; this.pathLength = this._getTextPathLength(); }