feat(draw): give container elements slight transparency

Closes #488
This commit is contained in:
Nico Rehwaldt 2016-03-16 11:27:09 +01:00
parent 13be55dca1
commit 31b49fd333
1 changed files with 4 additions and 0 deletions

View File

@ -835,6 +835,9 @@ function BpmnRenderer(eventBus, styles, pathMap, priority) {
return task;
},
'bpmn:SubProcess': function(p, element, attrs) {
attrs = assign({ fillOpacity: 0.95 }, attrs);
var rect = renderer('bpmn:Activity')(p, element, attrs);
var expanded = DiUtil.isExpanded(element);
@ -877,6 +880,7 @@ function BpmnRenderer(eventBus, styles, pathMap, priority) {
'bpmn:Participant': function(p, element) {
var lane = renderer('bpmn:Lane')(p, element, {
fillOpacity: 0.95,
fill: 'White'
});