fix(draw): correctly fill messages + intermediate events

This commit is contained in:
Nico Rehwaldt 2014-08-17 18:33:41 +02:00
parent b5ba814952
commit c4776f191c
1 changed files with 3 additions and 3 deletions

View File

@ -347,7 +347,7 @@ function BpmnRenderer(events, styles, pathMap) {
}
});
var fill = isThrowing ? 'black' : 'none';
var fill = isThrowing ? 'black' : 'white';
var stroke = isThrowing ? 'white' : 'black';
var messagePath = drawPath(p, pathData, {
@ -562,7 +562,7 @@ function BpmnRenderer(events, styles, pathMap) {
},
'bpmn:IntermediateEvent': function(p, element) {
var outer = renderer('bpmn:Event')(p, element, { strokeWidth: 1 });
var inner = drawCircle(p, element.width, element.height, INNER_OUTER_DIST, { strokeWidth: 1 });
var inner = drawCircle(p, element.width, element.height, INNER_OUTER_DIST, { strokeWidth: 1, fill: 'none' });
renderEventContent(element, p);
@ -679,7 +679,7 @@ function BpmnRenderer(events, styles, pathMap) {
var userPath = drawPath(p, pathData, {
strokeWidth: 0.25,
fill: 'none',
fill: 'white',
stroke: 'black'
});