fix(draw): use correct height for bpmn:TextAnnotation

This commit is contained in:
Nico Rehwaldt 2014-12-07 13:06:32 +01:00
parent e387768ef1
commit 982033074b
1 changed files with 1 additions and 1 deletions

View File

@ -1230,7 +1230,7 @@ function BpmnRenderer(events, styles, pathMap) {
'fill': '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', {
xScaleFactor: 1,
yScaleFactor: 1,