diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index ece448c64..a97f9fd17 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -1913,7 +1913,6 @@ RED.view = (function() { .attr("xlink:href",iconUrl) .attr("class","fa-lg") .attr("x",15) - .attr("y",21) .attr("stroke","none") .attr("fill","#ffffff") .attr("text-anchor","middle") @@ -2414,6 +2413,7 @@ RED.view = (function() { thisNode.selectAll(".node_icon").attr("y",function(d){return (d.h-d3.select(this).attr("height"))/2;}); thisNode.selectAll(".node_icon_shade").attr("height",function(d){return d.h;}); thisNode.selectAll(".node_icon_shade_border").attr("d",function(d){ return "M "+(("right" == d._def.align) ?0:30)+" 1 l 0 "+(d.h-2)}); + thisNode.selectAll(".fa-lg").attr("y",function(d){return (d.h+13)/2;}); thisNode.selectAll(".node_button").attr("opacity",function(d) { return (activeSubflow||!isButtonEnabled(d))?0.4:1