Skip to content

Commit

Permalink
Merge master to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bpmn-io-bot committed Nov 16, 2023
2 parents b6abc5d + 8b18beb commit f8993e0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/features/outline/OutlineProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@ OutlineProvider.prototype.getOutline = function(element) {
height: element.height + DEFAULT_OFFSET * 2
}, OUTLINE_STYLE));

} else if (is(element, 'bpmn:EndEvent')) {

outline = svgCreate('circle');

// Extra 1px offset needed due to increased stroke-width of end event
// which makes it bigger than other events.

svgAttr(outline, assign({
cx: element.width / 2,
cy: element.height / 2,
r: element.width / 2 + DEFAULT_OFFSET + 1
}, OUTLINE_STYLE));

} else if (is(element, 'bpmn:Event')) {
outline = svgCreate('circle');

Expand Down

0 comments on commit f8993e0

Please sign in to comment.