Skip to content

Commit 35c0f9b

Browse files
committed
fixed: "edit edge" icon was the same as "add edge"
1 parent 0394ef6 commit 35c0f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/network/modules/ManipulationSystem.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ class ManipulationSystem {
735735
*/
736736
_createEditEdgeButton(locale) {
737737
let label = locale['editEdge'] || this.options.locales['en']['editEdge'];
738-
let icon = '<svg xmlns="http://www.w3.org/2000/svg" stroke-linejoin="arcs" stroke-linecap="square" stroke-width="2" stroke="currentColor" fill="none" height="24" width="24"><g transform="matrix(.700038 0 0 .702684 3.024926 3.026417)" stroke-width="2.852"><circle cx="16.181" cy="5.496" r="3"/><circle cx="6.744" cy="16.217" r="3"/><path d="M13.723 8.29L9.12 13.67"/></g><circle cx="12.237" cy="11.68" r="10"/><g stroke-width="2"><path d="M15.896 13.344v3.907"/><path d="M13.942 15.298h3.907"/></g></svg>';
738+
let icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="square" stroke-linejoin="arcs"><path d="M10.114 17.464H6.637v-3.477l8.692-8.692 3.477 3.477z" stroke-width="1.5"/><circle cx="12" cy="12" r="10"/></svg>';
739739
let button = this._createButton('editEdge', 'vis-button vis-edit', icon, label);
740740
this.manipulationDiv.appendChild(button);
741741
this._bindHammerToDiv(button, this.editEdgeMode.bind(this));

0 commit comments

Comments
 (0)