From 40bb23756fa559d6b920d91aa9f0b0a28cab1ad4 Mon Sep 17 00:00:00 2001 From: "Marco A. Nina Mena" Date: Fri, 21 Jan 2022 15:30:27 -0500 Subject: [PATCH] remove segments in linkConfigs --- src/mixins/linkConfig.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mixins/linkConfig.js b/src/mixins/linkConfig.js index 8e45fe4c2..5182827c4 100644 --- a/src/mixins/linkConfig.js +++ b/src/mixins/linkConfig.js @@ -214,9 +214,8 @@ export default { const sourceAnchorTool = new linkTools.SourceAnchor({ snap: this.getAnchorPointFunction('source') }); const targetAnchorTool = new linkTools.TargetAnchor({ snap: this.getAnchorPointFunction('target') }); - const segmentsTool = new linkTools.Segments(); const toolsView = new dia.ToolsView({ - tools: [verticesTool, segmentsTool, sourceAnchorTool, targetAnchorTool], + tools: [verticesTool, sourceAnchorTool, targetAnchorTool], }); this.shapeView.addTools(toolsView);