mirror of https://github.com/node-red/node-red.git
Do not block touch events on ports
parent
3f86ccfd14
commit
b95d65e4d8
|
|
@ -3226,7 +3226,8 @@ RED.view = (function() {
|
|||
clearSuggestedFlow();
|
||||
RED.contextMenu.hide();
|
||||
evt = evt || d3.event;
|
||||
if (evt.button !== 0) {
|
||||
|
||||
if (!evt.touches && evt.button !== 0) {
|
||||
return;
|
||||
}
|
||||
if (mouse_mode === RED.state.SELECTING_NODE) {
|
||||
|
|
@ -4082,7 +4083,7 @@ RED.view = (function() {
|
|||
d3.event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
if (d3.event.button !== 0) {
|
||||
if (!d3.event.touches && d3.event.button !== 0) {
|
||||
return
|
||||
}
|
||||
mousedown_link = d;
|
||||
|
|
|
|||
Loading…
Reference in New Issue