Merge pull request #3200 from node-red/fix-link-call-label

Fix link call label
This commit is contained in:
Nick O'Leary
2021-10-14 12:04:25 +01:00
committed by GitHub
2 changed files with 11 additions and 6 deletions

View File

@@ -4006,10 +4006,10 @@ RED.view = (function() {
var labelParts;
if (d.resize || this.__hideLabel__ !== hideLabel || this.__label__ !== label || this.__outputs__.length !== d.outputs) {
labelParts = getLabelParts(label, "red-ui-flow-node-label");
this.__label__ = label;
if (labelParts.lines.length !== this.__labelLineCount__) {
if (labelParts.lines.length !== this.__labelLineCount__ || this.__label__ !== label) {
d.resize = true;
}
this.__label__ = label;
this.__labelLineCount__ = labelParts.lines.length;
if (hideLabel) {