From 5de5b79e0479aad16a923289f8c8d584f3f5a449 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Tue, 20 Jun 2023 09:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E8=BE=B9=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/drawApp/index.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/drawApp/index.ts b/src/drawApp/index.ts index afae098..c20b481 100644 --- a/src/drawApp/index.ts +++ b/src/drawApp/index.ts @@ -28,9 +28,6 @@ import { graphicData } from 'src/protos/stationLayoutGraphics'; import { Rect } from 'src/graphics/rect/Rect'; import { RectDraw } from 'src/graphics/rect/RectDrawAssistant'; import { RectData } from './graphics/RectInteraction'; -import { Polygon } from 'src/graphics/polygon/Polygon'; -import { PolygonDraw } from 'src/graphics/polygon/PolygonDrawAssistant'; -import { PolygonData } from './graphics/PolygonInteraction'; import { Platform } from 'src/graphics/platform/Platform'; import { PlatformData } from './graphics/PlatformInteraction'; import { PlatformDraw } from 'src/graphics/platform/PlatformDrawAssistant'; @@ -143,7 +140,6 @@ export function initDrawApp(dom: HTMLElement): JlDrawApp { | StationLineDraw | RectDraw | TrainLineDraw - | PolygonDraw | PathLineDraw | TrainWindowDraw )[] = []; @@ -165,9 +161,6 @@ export function initDrawApp(dom: HTMLElement): JlDrawApp { // return new TrainData(); // }), new SectionDraw(app, () => new SectionData()), - /* new PolygonDraw(app, () => { - return new PolygonData(); - }), */ new TrainWindowDraw(app, () => { return new TrainWindowData(); }),