mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-18 20:06:54 +00:00
fix(draw): remove inner boundary event fill
This commit is contained in:
parent
75dc681d46
commit
7eb6d7af46
@ -912,8 +912,8 @@ function BpmnRenderer(events, styles, pathMap) {
|
|||||||
'bpmn:InclusiveGateway': function(p, element) {
|
'bpmn:InclusiveGateway': function(p, element) {
|
||||||
var diamond = drawDiamond(p, element.width, element.height);
|
var diamond = drawDiamond(p, element.width, element.height);
|
||||||
|
|
||||||
/* circle path */
|
/* circle path */
|
||||||
drawCircle(p, element.width, element.height, element.height * 0.24, {
|
drawCircle(p, element.width, element.height, element.height * 0.24, {
|
||||||
strokeWidth: 2.5,
|
strokeWidth: 2.5,
|
||||||
fill: 'none'
|
fill: 'none'
|
||||||
});
|
});
|
||||||
@ -1214,16 +1214,16 @@ function BpmnRenderer(events, styles, pathMap) {
|
|||||||
cancel = semantic.cancelActivity;
|
cancel = semantic.cancelActivity;
|
||||||
|
|
||||||
var attrs = {
|
var attrs = {
|
||||||
strokeLinecap: 'round',
|
|
||||||
strokeWidth: 1
|
strokeWidth: 1
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!cancel) {
|
if (!cancel) {
|
||||||
attrs.strokeDasharray = '6';
|
attrs.strokeDasharray = '6';
|
||||||
|
attrs.strokeLinecap = 'round';
|
||||||
}
|
}
|
||||||
|
|
||||||
var outer = renderer('bpmn:Event')(p, element, attrs);
|
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);
|
renderEventContent(element, p);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user