1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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);