mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge branch 'master' into dev
This commit is contained in:
commit
e24c22f9be
@ -275,7 +275,8 @@ RED.palette = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (var i=0;i<nodes.length;i++) {
|
for (var i=0;i<nodes.length;i++) {
|
||||||
if (d3.select(nodes[i]).classed('link_background')) {
|
var node = d3.select(nodes[i]);
|
||||||
|
if (node.classed('link_background') && !node.classed('link_link')) {
|
||||||
var length = nodes[i].getTotalLength();
|
var length = nodes[i].getTotalLength();
|
||||||
for (var j=0;j<length;j+=10) {
|
for (var j=0;j<length;j+=10) {
|
||||||
var p = nodes[i].getPointAtLength(j);
|
var p = nodes[i].getPointAtLength(j);
|
||||||
|
@ -132,7 +132,7 @@ RED.sidebar.context = (function() {
|
|||||||
content: content,
|
content: content,
|
||||||
toolbar: footerToolbar,
|
toolbar: footerToolbar,
|
||||||
// pinned: true,
|
// pinned: true,
|
||||||
enableOnEdit: false,
|
enableOnEdit: true,
|
||||||
action: "core:show-context-tab"
|
action: "core:show-context-tab"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2513,6 +2513,7 @@ RED.view = (function() {
|
|||||||
var l = d3.select(this);
|
var l = d3.select(this);
|
||||||
d.added = true;
|
d.added = true;
|
||||||
l.append("svg:path").attr("class","link_background link_path")
|
l.append("svg:path").attr("class","link_background link_path")
|
||||||
|
.classed("link_link", function(d) { return d.link })
|
||||||
.on("mousedown",function(d) {
|
.on("mousedown",function(d) {
|
||||||
mousedown_link = d;
|
mousedown_link = d;
|
||||||
clearSelection();
|
clearSelection();
|
||||||
|
Loading…
Reference in New Issue
Block a user