Skip to content

Commit

Permalink
Merge pull request #2612 from node-red-hitachi/fix-group-position
Browse files Browse the repository at this point in the history
Fix group position of empty group with multi-line label
  • Loading branch information
knolleary committed Jun 12, 2020
2 parents 81a4f42 + 5e8e739 commit f4f99f5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4277,7 +4277,9 @@ RED.view = (function() {
var labelPos = d.style["label-position"] || "nw";
d.h += h;
if (labelPos[0] === "n") {
d.y -= h;
if (d.nodes.length > 0) {
d.y -= h;
}
}
}

Expand Down

0 comments on commit f4f99f5

Please sign in to comment.