fix(bpmnrenderer): correct selection area for text annotation
This commit is contained in:
parent
849167e3e7
commit
45b8ee81c8
|
@ -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;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue