fix(draw): correct embedded label padding
This commit is contained in:
parent
31177b94e7
commit
90faab981d
|
@ -461,7 +461,7 @@ export default function BpmnRenderer(
|
||||||
return renderLabel(parentGfx, semantic.name, {
|
return renderLabel(parentGfx, semantic.name, {
|
||||||
box: element,
|
box: element,
|
||||||
align: align,
|
align: align,
|
||||||
padding: align === 'center-middle' ? 0 : 5,
|
padding: 5,
|
||||||
style: {
|
style: {
|
||||||
fill: getStrokeColor(element, defaultStrokeColor)
|
fill: getStrokeColor(element, defaultStrokeColor)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue