bpmn-js 15.1.2 → 15.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,6 +86,19 @@ OutlineProvider.prototype.getOutline = function(element) {
86
86
  height: element.height + DEFAULT_OFFSET * 2
87
87
  }, OUTLINE_STYLE));
88
88
 
89
+ } else if (is(element, 'bpmn:EndEvent')) {
90
+
91
+ outline = svgCreate('circle');
92
+
93
+ // Extra 1px offset needed due to increased stroke-width of end event
94
+ // which makes it bigger than other events.
95
+
96
+ svgAttr(outline, assign({
97
+ cx: element.width / 2,
98
+ cy: element.height / 2,
99
+ r: element.width / 2 + DEFAULT_OFFSET + 1
100
+ }, OUTLINE_STYLE));
101
+
89
102
  } else if (is(element, 'bpmn:Event')) {
90
103
  outline = svgCreate('circle');
91
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmn-js",
3
- "version": "15.1.2",
3
+ "version": "15.2.0",
4
4
  "description": "A bpmn 2.0 toolkit and web modeler",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -76,7 +76,7 @@
76
76
  "camunda-bpmn-moddle": "^4.0.1",
77
77
  "chai": "4.1.2",
78
78
  "chai-match": "^1.1.1",
79
- "cpy": "^10.1.0",
79
+ "cpy": "^11.0.0",
80
80
  "cross-env": "^7.0.3",
81
81
  "del": "^6.0.0",
82
82
  "del-cli": "^5.0.0",
@@ -111,7 +111,7 @@
111
111
  },
112
112
  "dependencies": {
113
113
  "bpmn-moddle": "^8.0.1",
114
- "diagram-js": "^12.7.1",
114
+ "diagram-js": "^12.8.0",
115
115
  "diagram-js-direct-editing": "^2.0.0",
116
116
  "ids": "^1.0.5",
117
117
  "inherits-browser": "^0.1.0",