fix(draw): correctly fill messages + intermediate events
This commit is contained in:
parent
b5ba814952
commit
c4776f191c
|
@ -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'
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue