fix(draw): no expand markers for CallActivities
This commit is contained in:
parent
6fc512b477
commit
c294e0fadf
|
@ -611,8 +611,8 @@ function BpmnRenderer(events, styles, pathMap) {
|
||||||
return drawRect(p, element.width, element.height, TASK_BORDER_RADIUS, attrs);
|
return drawRect(p, element.width, element.height, TASK_BORDER_RADIUS, attrs);
|
||||||
},
|
},
|
||||||
|
|
||||||
'bpmn:Task': function(p, element) {
|
'bpmn:Task': function(p, element, attrs) {
|
||||||
var rect = renderer('bpmn:Activity')(p, element);
|
var rect = renderer('bpmn:Activity')(p, element, attrs);
|
||||||
renderEmbeddedLabel(p, element, 'center-middle');
|
renderEmbeddedLabel(p, element, 'center-middle');
|
||||||
attachTaskMarkers(p, element);
|
attachTaskMarkers(p, element);
|
||||||
return rect;
|
return rect;
|
||||||
|
@ -861,7 +861,7 @@ function BpmnRenderer(events, styles, pathMap) {
|
||||||
return outer;
|
return outer;
|
||||||
},
|
},
|
||||||
'bpmn:CallActivity': function(p, element) {
|
'bpmn:CallActivity': function(p, element) {
|
||||||
return renderer('bpmn:SubProcess')(p, element, {
|
return renderer('bpmn:Task')(p, element, {
|
||||||
strokeWidth: 5
|
strokeWidth: 5
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue