mirror of https://github.com/apache/nifi.git
NIFI-10594 Render empty lines in Labels
This closes #6519 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
3d1bf497a3
commit
3ed87a2982
|
@ -268,7 +268,7 @@
|
||||||
.attr('x', '0.4em')
|
.attr('x', '0.4em')
|
||||||
.attr('dy', '1.2em')
|
.attr('dy', '1.2em')
|
||||||
.text(function () {
|
.text(function () {
|
||||||
return line;
|
return line == "" ? " " : line;
|
||||||
})
|
})
|
||||||
.style('fill', function (d) {
|
.style('fill', function (d) {
|
||||||
return nfCommon.determineContrastColor(
|
return nfCommon.determineContrastColor(
|
||||||
|
|
Loading…
Reference in New Issue