Do not reset mouse mode when trigging edit

This commit is contained in:
Nick O'Leary 2014-05-24 01:51:51 +01:00
parent b67e70e09f
commit b995f70d36
1 changed files with 1 additions and 0 deletions

View File

@ -827,6 +827,7 @@ RED.view = function() {
if (mousedown_node == d && clickElapsed > 0 && clickElapsed < 750) {
RED.editor.edit(d);
clickElapsed = 0;
d3.event.stopPropagation();
return;
}
portMouseUp(d, d._def.inputs > 0 ? 1 : 0, 0);