信号机多次创建问题调整
This commit is contained in:
parent
d684043743
commit
fbf4eb56d3
@ -41,9 +41,9 @@ export class SignalDraw extends GraphicDrawAssistant<
|
|||||||
return this._signal;
|
return this._signal;
|
||||||
}
|
}
|
||||||
|
|
||||||
onRightClick(): void {
|
// onRightClick(): void {
|
||||||
this.createAndStore(true);
|
// this.createAndStore(true);
|
||||||
}
|
// }
|
||||||
onLeftUp(e: FederatedPointerEvent): void {
|
onLeftUp(e: FederatedPointerEvent): void {
|
||||||
this.container.position.copyFrom(this.toCanvasCoordinates(e.global));
|
this.container.position.copyFrom(this.toCanvasCoordinates(e.global));
|
||||||
this.createAndStore(true);
|
this.createAndStore(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user