物理区段取消拆分功能
This commit is contained in:
parent
81bd2dc4fc
commit
a6081670e4
@ -418,12 +418,12 @@ export class SectionPointEditPlugin extends GraphicInteractionPlugin<Section> {
|
|||||||
g.labelGraphic.draggable = true;
|
g.labelGraphic.draggable = true;
|
||||||
g.on('selected', this.onSelected, this);
|
g.on('selected', this.onSelected, this);
|
||||||
g.on('unselected', this.onUnselected, this);
|
g.on('unselected', this.onUnselected, this);
|
||||||
g.on('_rightclick', this.onContextMenu, this);
|
// g.on('_rightclick', this.onContextMenu, this);
|
||||||
}
|
}
|
||||||
unbind(g: Section): void {
|
unbind(g: Section): void {
|
||||||
g.off('selected', this.onSelected, this);
|
g.off('selected', this.onSelected, this);
|
||||||
g.off('unselected', this.onUnselected, this);
|
g.off('unselected', this.onUnselected, this);
|
||||||
g.off('_rightclick', this.onContextMenu, this);
|
// g.off('_rightclick', this.onContextMenu, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
onContextMenu(e: FederatedMouseEvent) {
|
onContextMenu(e: FederatedMouseEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user