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

offset menu so you can see node placement

This commit is contained in:
Dave Conway-Jones 2019-01-21 22:08:25 +00:00
parent 1d1ab5b7b2
commit e2ee88de84
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4

View File

@ -685,7 +685,7 @@ RED.view = (function() {
quickAddActive = true;
RED.typeSearch.show({
x:d3.event.clientX-mainPos.left-node_width/2,
y:d3.event.clientY-mainPos.top-node_height/2,
y:d3.event.clientY-mainPos.top-node_height/2 + 30,
filter: filter,
cancel: function() {
quickAddActive = false;