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:
parent
b67e70e09f
commit
b995f70d36
@ -827,6 +827,7 @@ RED.view = function() {
|
|||||||
if (mousedown_node == d && clickElapsed > 0 && clickElapsed < 750) {
|
if (mousedown_node == d && clickElapsed > 0 && clickElapsed < 750) {
|
||||||
RED.editor.edit(d);
|
RED.editor.edit(d);
|
||||||
clickElapsed = 0;
|
clickElapsed = 0;
|
||||||
|
d3.event.stopPropagation();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
portMouseUp(d, d._def.inputs > 0 ? 1 : 0, 0);
|
portMouseUp(d, d._def.inputs > 0 ? 1 : 0, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user