impr(bpmnrenderer): make lanes transparent

Relates to #28
This commit is contained in:
jdotzki 2014-05-21 15:35:26 +02:00
parent d18089db0a
commit b0e6020952
1 changed files with 2 additions and 0 deletions

View File

@ -941,6 +941,8 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
'bpmn:Lane': function(p, data) {
var rect = drawRect(p, data.width, data.height, 0);
rect.attr('fill', 'None');
if(bpmnRegistry.getSemantic(data.id).$type === 'bpmn:Lane') {
var text = bpmnRegistry.getSemantic(data.id).name;
renderLaneLabel(p, text, data);