Update EdgeEditor.js

This commit is contained in:
Luis Fernando Molina committed 2020-04-07 17:42:52 +02:00
1 parent c8854b5406
commit 569e02aff6
1 file changed
+7 -5
+7 -5
View File
@@ -130,11 +130,13 @@ function newEdgeEditor () {
}
function onDragStarted (event) {
if (doubleClickCounter > 0) {
onDoubleClick(event)
return
} else {
doubleClickCounter = 50
if (event.buttons === 1) {
if (doubleClickCounter > 0) {
onDoubleClick(event)
return
} else {
doubleClickCounter = 50
}
}
mouseWhenDragStarted = {