camunda-bpmn-js 3.5.0 → 3.6.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.
- package/dist/assets/properties-panel.css +6 -1
- package/dist/base-modeler.development.js +3218 -3400
- package/dist/base-modeler.production.min.js +33 -33
- package/dist/base-navigated-viewer.development.js +7 -5
- package/dist/base-navigated-viewer.production.min.js +1 -1
- package/dist/base-viewer.development.js +6 -4
- package/dist/base-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +4277 -4085
- package/dist/camunda-cloud-modeler.production.min.js +35 -35
- package/dist/camunda-cloud-navigated-viewer.development.js +7 -5
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +6 -4
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +3251 -3429
- package/dist/camunda-platform-modeler.production.min.js +34 -34
- package/dist/camunda-platform-navigated-viewer.development.js +7 -5
- package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-platform-viewer.development.js +6 -4
- package/dist/camunda-platform-viewer.production.min.js +1 -1
- package/package.json +4 -4
|
@@ -13377,13 +13377,14 @@
|
|
|
13377
13377
|
*
|
|
13378
13378
|
* @param {SVGElement} visual The graphical element.
|
|
13379
13379
|
* @param {ShapeLike} element The shape.
|
|
13380
|
+
* @param {Object} attrs Optional attributes.
|
|
13380
13381
|
*
|
|
13381
13382
|
* @return {SVGElement}
|
|
13382
13383
|
*/
|
|
13383
|
-
GraphicsFactory.prototype.drawShape = function(visual, element) {
|
|
13384
|
+
GraphicsFactory.prototype.drawShape = function(visual, element, attrs = {}) {
|
|
13384
13385
|
var eventBus = this._eventBus;
|
|
13385
13386
|
|
|
13386
|
-
return eventBus.fire('render.shape', { gfx: visual, element
|
|
13387
|
+
return eventBus.fire('render.shape', { gfx: visual, element, attrs });
|
|
13387
13388
|
};
|
|
13388
13389
|
|
|
13389
13390
|
/**
|
|
@@ -13404,13 +13405,14 @@
|
|
|
13404
13405
|
*
|
|
13405
13406
|
* @param {SVGElement} visual The graphical element.
|
|
13406
13407
|
* @param {ConnectionLike} element The connection.
|
|
13408
|
+
* @param {Object} attrs Optional attributes.
|
|
13407
13409
|
*
|
|
13408
13410
|
* @return {SVGElement}
|
|
13409
13411
|
*/
|
|
13410
|
-
GraphicsFactory.prototype.drawConnection = function(visual, element) {
|
|
13412
|
+
GraphicsFactory.prototype.drawConnection = function(visual, element, attrs = {}) {
|
|
13411
13413
|
var eventBus = this._eventBus;
|
|
13412
13414
|
|
|
13413
|
-
return eventBus.fire('render.connection', { gfx: visual, element
|
|
13415
|
+
return eventBus.fire('render.connection', { gfx: visual, element, attrs });
|
|
13414
13416
|
};
|
|
13415
13417
|
|
|
13416
13418
|
/**
|
|
@@ -23759,7 +23761,7 @@
|
|
|
23759
23761
|
// pinch to zoom is mapped to wheel + ctrlKey = true
|
|
23760
23762
|
// in modern browsers (!)
|
|
23761
23763
|
|
|
23762
|
-
var isZoom = event.ctrlKey;
|
|
23764
|
+
var isZoom = event.ctrlKey || (isMac() && event.metaKey);
|
|
23763
23765
|
|
|
23764
23766
|
var isHorizontalScroll = event.shiftKey;
|
|
23765
23767
|
|