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

Increase double-click to edit time

This commit is contained in:
Nick O'Leary 2014-05-14 09:49:37 +01:00
parent 6f0e619611
commit a3ce04e9a5

View File

@ -815,7 +815,7 @@ RED.view = function() {
} }
function nodeMouseUp(d) { function nodeMouseUp(d) {
if (mousedown_node == d && clickElapsed > 0 && clickElapsed < 300) { if (mousedown_node == d && clickElapsed > 0 && clickElapsed < 750) {
RED.editor.edit(d); RED.editor.edit(d);
clickElapsed = 0; clickElapsed = 0;
return; return;