Merge branch 'master' of https://git.code.tencent.com/xian-ncc-da/xian-ncc-da-client
This commit is contained in:
commit
9a303f7c2c
@ -437,6 +437,7 @@ export class SectionPointEditPlugin extends GraphicInteractionPlugin<Section> {
|
|||||||
onContextMenu(e: FederatedMouseEvent) {
|
onContextMenu(e: FederatedMouseEvent) {
|
||||||
const target = e.target as DisplayObject;
|
const target = e.target as DisplayObject;
|
||||||
const section = target.getGraphic() as Section;
|
const section = target.getGraphic() as Section;
|
||||||
|
if (section.datas.sectionType === SectionType.TurnoutPhysical) return;
|
||||||
this.app.updateSelected(section);
|
this.app.updateSelected(section);
|
||||||
const p = section.screenToLocalPoint(e.global);
|
const p = section.screenToLocalPoint(e.global);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user