fix(draw): remove inner boundary event fill

This commit is contained in:
Nico Rehwaldt 2015-07-14 16:20:32 +02:00
parent 75dc681d46
commit 7eb6d7af46
1 changed files with 4 additions and 4 deletions

View File

@ -912,8 +912,8 @@ function BpmnRenderer(events, styles, pathMap) {
'bpmn:InclusiveGateway': function(p, element) {
var diamond = drawDiamond(p, element.width, element.height);
/* circle path */
drawCircle(p, element.width, element.height, element.height * 0.24, {
/* circle path */
drawCircle(p, element.width, element.height, element.height * 0.24, {
strokeWidth: 2.5,
fill: 'none'
});
@ -1214,16 +1214,16 @@ function BpmnRenderer(events, styles, pathMap) {
cancel = semantic.cancelActivity;
var attrs = {
strokeLinecap: 'round',
strokeWidth: 1
};
if (!cancel) {
attrs.strokeDasharray = '6';
attrs.strokeLinecap = 'round';
}
var outer = renderer('bpmn:Event')(p, element, attrs);
/* inner path */ drawCircle(p, element.width, element.height, INNER_OUTER_DIST, attrs);
/* inner path */ drawCircle(p, element.width, element.height, INNER_OUTER_DIST, assign(attrs, { fill: 'none' }));
renderEventContent(element, p);