fix(draw): no expand markers for CallActivities

This commit is contained in:
Nico Rehwaldt 2015-05-05 12:01:53 +02:00
parent 6fc512b477
commit c294e0fadf
1 changed files with 3 additions and 3 deletions

View File

@ -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
}); });
}, },