diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index c29e5cd7..ebbb3ae9 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -461,7 +461,7 @@ export default function BpmnRenderer( return renderLabel(parentGfx, semantic.name, { box: element, align: align, - padding: 5, + padding: align === 'center-middle' ? 0 : 5, style: { fill: getStrokeColor(element, defaultStrokeColor) }