fix(draw): give participants a white background

This commit is contained in:
Nico Rehwaldt 2015-05-05 13:26:57 +02:00
parent c294e0fadf
commit e912e1f89c
1 changed files with 5 additions and 3 deletions

View File

@ -867,7 +867,9 @@ function BpmnRenderer(events, styles, pathMap) {
},
'bpmn:Participant': function(p, element) {
var lane = renderer('bpmn:Lane')(p, element);
var lane = renderer('bpmn:Lane')(p, element, {
fill: 'White'
});
var expandedPool = DiUtil.isExpanded(element);
@ -892,8 +894,8 @@ function BpmnRenderer(events, styles, pathMap) {
return lane;
},
'bpmn:Lane': function(p, element) {
var rect = drawRect(p, element.width, element.height, 0, {
'bpmn:Lane': function(p, element, attrs) {
var rect = drawRect(p, element.width, element.height, 0, attrs || {
fill: 'none'
});