This commit is contained in:
fan 2023-06-20 10:08:33 +08:00
commit 98c213dab1

View File

@ -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();
}),