fix(bpmnrenderer): correct selection area for text annotation

This commit is contained in:
jdotzki 2014-05-05 14:26:17 +02:00
parent 849167e3e7
commit 45b8ee81c8
1 changed files with 2 additions and 2 deletions

View File

@ -965,9 +965,9 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
var textPath = drawPath(p, textPathData);
var text = bpmnRegistry.getSemantic(data.id).text || '';
renderLabel(p, text, data, 'left-middle');
var label = renderLabel(p, text, data, 'left-middle');
return textPath;
return label;
}
};