mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 09:36:07 +00:00
fix(draw): adjust center-middle aligned label padding
This commit is contained in:
parent
fb5fccb331
commit
834ac7db77
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user