fix(draw): give participants a white background
This commit is contained in:
parent
c294e0fadf
commit
e912e1f89c
|
@ -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'
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue