mirror of https://github.com/node-red/node-red.git
fix position of empty group with multi-line label
parent
81a4f42673
commit
5e8e739f78
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue