fix onDblClick error (use this instead)

This commit is contained in:
inventivetalent
2019-01-07 21:25:25 +01:00
parent 54087d1f5e
commit d19bcf3861

View File

@@ -4092,7 +4092,7 @@ LGraphCanvas.prototype.processMouseDown = function(e)
{
//double click node
if( node.onDblClick)
node.onDblClick(e,[e.canvasX - node.pos[0], e.canvasY - node.pos[1]],graphcanvas);
node.onDblClick(e,[e.canvasX - node.pos[0], e.canvasY - node.pos[1]], this);
this.processNodeDblClicked( node );
block_drag_node = true;
}