From 7d25ea01b4d46597fb3b0a686a3e761580f6b08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=99=BA=E6=B4=B2?= <1543046129@qq.com> Date: Sun, 8 May 2022 00:15:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=A4=96?= =?UTF-8?q?=E9=83=A8=E6=8C=87=E9=92=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/Model/SVNode.ts | 1 - src/Model/SVNodeAppendage.ts | 1 + src/View/reconcile.ts | 46 ++++++++++++++++++------------------ 4 files changed, 25 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 62c1998..dd3ba36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules test dist +资料 \ No newline at end of file diff --git a/src/Model/SVNode.ts b/src/Model/SVNode.ts index b736e45..9e07db5 100644 --- a/src/Model/SVNode.ts +++ b/src/Model/SVNode.ts @@ -16,7 +16,6 @@ export class SVNode extends SVModel { }; private label: string | string[]; - private disable: boolean; public appendages: { [key: string]: SVNodeAppendage[] }; constructor( diff --git a/src/Model/SVNodeAppendage.ts b/src/Model/SVNodeAppendage.ts index a287f01..fcf29f8 100644 --- a/src/Model/SVNodeAppendage.ts +++ b/src/Model/SVNodeAppendage.ts @@ -196,6 +196,7 @@ export class SVMarker extends SVNodeAppendage { label: this.label, style: Util.objectClone