chore(draw): use positive refX for rendering default flow marker

Fixes PNG image generation using canvg.

Related to camunda/camunda-modeler#250
This commit is contained in:
Nico Rehwaldt 2016-12-20 16:31:15 +01:00
parent c89942fc4c
commit e2211766eb
1 changed files with 2 additions and 2 deletions

View File

@ -206,14 +206,14 @@ function BpmnRenderer(eventBus, styles, pathMap, canvas, priority) {
if (type === 'conditional-default-flow-marker') {
var conditionaldefaultflowMarker = svgCreate('path');
svgAttr(conditionaldefaultflowMarker, { d: 'M 1 4 L 5 16' });
svgAttr(conditionaldefaultflowMarker, { d: 'M 6 4 L 10 16' });
addMarker(id, {
element: conditionaldefaultflowMarker,
attrs: {
stroke: stroke
},
ref: { x: -5, y: 10 },
ref: { x: 0, y: 10 },
scale: 0.5
});
}