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:
parent
1d1ab5b7b2
commit
e2ee88de84
@ -685,7 +685,7 @@ RED.view = (function() {
|
|||||||
quickAddActive = true;
|
quickAddActive = true;
|
||||||
RED.typeSearch.show({
|
RED.typeSearch.show({
|
||||||
x:d3.event.clientX-mainPos.left-node_width/2,
|
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,
|
filter: filter,
|
||||||
cancel: function() {
|
cancel: function() {
|
||||||
quickAddActive = false;
|
quickAddActive = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user