bug调整--删除右键保存

This commit is contained in:
joylink_zhaoerwei 2023-06-06 16:10:17 +08:00
parent 7789ad9dc2
commit 82ef7a1b8b
4 changed files with 0 additions and 12 deletions

View File

@ -52,9 +52,6 @@ export class PlatformDraw extends GraphicDrawAssistant<
this.platformGraphic.clear();
this.doorGraphic.clear();
}
onRightClick(): void {
this.createAndStore(true);
}
onLeftDown(e: FederatedPointerEvent): void {
const { x, y } = this.toCanvasCoordinates(e.global);
const p = new Point(x, y);

View File

@ -59,9 +59,6 @@ export class RectDraw extends GraphicDrawAssistant<RectTemplate, IRectData> {
clearCache(): void {
this.rectGraphic.clear();
}
onRightClick(): void {
this.createAndStore(true);
}
onLeftDown(e: FederatedPointerEvent): void {
const { x, y } = this.toCanvasCoordinates(e.global);
const p = new Point(x, y);

View File

@ -36,9 +36,6 @@ export class StationDraw extends GraphicDrawAssistant<
clearCache(): void {
//this.codeGraph.clear();
}
onRightClick(): void {
this.createAndStore(true);
}
onLeftDown(e: FederatedPointerEvent): void {
const { x, y } = this.toCanvasCoordinates(e.global);
const p = new Point(x, y);

View File

@ -40,9 +40,6 @@ export class TrainDraw extends GraphicDrawAssistant<TrainTemplate, ITrainData> {
this.pauseLeft.clear();
this.codeRact.clear();
}
onRightClick(): void {
this.createAndStore(true);
}
onLeftDown(e: FederatedPointerEvent): void {
const { x, y } = this.toCanvasCoordinates(e.global);
const p = new Point(x, y);