From c4776f191c148a4da697baef9a9d1fbe82b814ca Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 17 Aug 2014 18:33:41 +0200 Subject: [PATCH] fix(draw): correctly fill messages + intermediate events --- lib/draw/BpmnRenderer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index ec444063..b2d5deb1 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -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' });