diff --git a/src/graphics/esbButton/EsbButtonDrawAssistant.ts b/src/graphics/esbButton/EsbButtonDrawAssistant.ts index 3becadf..04e6849 100644 --- a/src/graphics/esbButton/EsbButtonDrawAssistant.ts +++ b/src/graphics/esbButton/EsbButtonDrawAssistant.ts @@ -36,10 +36,6 @@ export class EsbButtonDraw extends GraphicDrawAssistant< return this._esbButton; } - onRightClick(): void { - this.createAndStore(true); - } - onLeftUp(e: FederatedMouseEvent): void { this.container.position.copyFrom(this.toCanvasCoordinates(e.global)); this.createAndStore(true); diff --git a/src/graphics/gatedBox/GatedBoxDrawAssistant.ts b/src/graphics/gatedBox/GatedBoxDrawAssistant.ts index 3fe9720..ea7be22 100644 --- a/src/graphics/gatedBox/GatedBoxDrawAssistant.ts +++ b/src/graphics/gatedBox/GatedBoxDrawAssistant.ts @@ -36,10 +36,6 @@ export class GatedBoxDraw extends GraphicDrawAssistant< return this._gatedBox; } - onRightClick(): void { - this.createAndStore(true); - } - onLeftUp(e: FederatedMouseEvent): void { this.container.position.copyFrom(this.toCanvasCoordinates(e.global)); this.createAndStore(true); diff --git a/src/graphics/signal/SignalDrawAssistant.ts b/src/graphics/signal/SignalDrawAssistant.ts index efd68b1..5f351ac 100644 --- a/src/graphics/signal/SignalDrawAssistant.ts +++ b/src/graphics/signal/SignalDrawAssistant.ts @@ -41,9 +41,6 @@ export class SignalDraw extends GraphicDrawAssistant< return this._signal; } - onRightClick(): void { - this.createAndStore(true); - } onLeftUp(e: FederatedPointerEvent): void { this.container.position.copyFrom(this.toCanvasCoordinates(e.global)); this.createAndStore(true); diff --git a/src/graphics/spksSwitch/SpksSwitchDrawAssistant.ts b/src/graphics/spksSwitch/SpksSwitchDrawAssistant.ts index a0c8bec..03ab1e3 100644 --- a/src/graphics/spksSwitch/SpksSwitchDrawAssistant.ts +++ b/src/graphics/spksSwitch/SpksSwitchDrawAssistant.ts @@ -36,10 +36,6 @@ export class SpksSwitchDraw extends GraphicDrawAssistant< return this._spksSwitch; } - onRightClick(): void { - this.createAndStore(true); - } - onLeftUp(e: FederatedMouseEvent): void { this.container.position.copyFrom(this.toCanvasCoordinates(e.global)); this.createAndStore(true); diff --git a/src/graphics/stopPosition/StopPositionDrawAssistant.ts b/src/graphics/stopPosition/StopPositionDrawAssistant.ts index 35a379d..cfc17b4 100644 --- a/src/graphics/stopPosition/StopPositionDrawAssistant.ts +++ b/src/graphics/stopPosition/StopPositionDrawAssistant.ts @@ -40,10 +40,6 @@ export class StopPositionDraw extends GraphicDrawAssistant< return this._stopPosition; } - onRightClick(): void { - this.createAndStore(true); - } - onLeftUp(e: FederatedMouseEvent): void { this.container.position.copyFrom(this.toCanvasCoordinates(e.global)); this.createAndStore(true);