fix(draw): use correct height for bpmn:TextAnnotation
This commit is contained in:
parent
e387768ef1
commit
982033074b
|
@ -1230,7 +1230,7 @@ function BpmnRenderer(events, styles, pathMap) {
|
||||||
'fill': 'none',
|
'fill': 'none',
|
||||||
'stroke': 'none'
|
'stroke': 'none'
|
||||||
};
|
};
|
||||||
var textElement = drawRect(p, element.width, element.width, 0, 0, style);
|
var textElement = drawRect(p, element.width, element.height, 0, 0, style);
|
||||||
var textPathData = pathMap.getScaledPath('TEXT_ANNOTATION', {
|
var textPathData = pathMap.getScaledPath('TEXT_ANNOTATION', {
|
||||||
xScaleFactor: 1,
|
xScaleFactor: 1,
|
||||||
yScaleFactor: 1,
|
yScaleFactor: 1,
|
||||||
|
|
Loading…
Reference in New Issue