From a596272a5278d7fe7bd1e57c7e792927d773d778 Mon Sep 17 00:00:00 2001 From: "DESKTOP-474NEJQ\\xzsjob" <359059686@qq.com> Date: Wed, 26 Aug 2020 14:45:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=AD=A3]=20=E6=9C=AA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/working-area/working-area.component.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index a250b17..c320462 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -217,13 +217,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV this.selection.deselectAll(); ids.forEach(item => { const obj = this.backgroundImage.getChildByName(item); - if (obj instanceof MultipointIcon) { - obj.setPointVisiable(true); - } else if (obj instanceof PolygonIcon) { - obj.setPointVisiable(true); - } else { - obj.filters = [this.outlineFilterGreen]; - } + this.selection.select(obj); }); } /**