1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-25 20:11:18 +00:00
Arnaud Roques 2022-07-21 19:01:57 +02:00
parent 8294ca6e78
commit 3bff5329c7

View File

@ -162,13 +162,11 @@ public class EntityImageDescription extends AbstractEntityImage {
final Display codeDisplay = Display.getWithNewlines(entity.getCodeGetName());
if ((entity.getDisplay().equals(codeDisplay) && symbol.getSName() == SName.package_)
|| entity.getDisplay().isWhite()) {
|| entity.getDisplay().isWhite())
desc = TextBlockUtils.empty(getSkinParam().minClassWidth(), 0);
} else {
final HorizontalAlignment align = getSkinParam().getDefaultTextAlignment(defaultAlign);
desc = BodyFactory.create3(entity.getDisplay(), getSkinParam(), align, fcTitle, getSkinParam().wrapWidth(),
style);
}
else
desc = BodyFactory.create3(entity.getDisplay(), getSkinParam(), defaultAlign, fcTitle,
getSkinParam().wrapWidth(), style);
stereo = TextBlockUtils.empty(0, 0);