mirror of https://github.com/node-red/node-red.git
Fix up port event cancelling on node-select
parent
603a6f0c11
commit
9d019e25c2
|
|
@ -3640,9 +3640,9 @@ RED.view = (function() {
|
|||
return tooltip;
|
||||
}
|
||||
|
||||
function portMouseOver(port,d,portType,portIndex) {
|
||||
function portMouseOver(port,d,portType,portIndex, event) {
|
||||
if (mouse_mode === RED.state.SELECTING_NODE) {
|
||||
d3.event.stopPropagation();
|
||||
(d3.event || event).stopPropagation();
|
||||
return;
|
||||
}
|
||||
clearTimeout(portLabelHoverTimeout);
|
||||
|
|
@ -3681,9 +3681,9 @@ RED.view = (function() {
|
|||
}
|
||||
port.classed("red-ui-flow-port-hovered",active);
|
||||
}
|
||||
function portMouseOut(port,d,portType,portIndex) {
|
||||
function portMouseOut(port,d,portType,portIndex, event) {
|
||||
if (mouse_mode === RED.state.SELECTING_NODE) {
|
||||
d3.event.stopPropagation();
|
||||
(d3.event || event).stopPropagation();
|
||||
return;
|
||||
}
|
||||
clearTimeout(portLabelHoverTimeout);
|
||||
|
|
|
|||
Loading…
Reference in New Issue