mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-17 11:26:42 +00:00
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…
x
Reference in New Issue
Block a user