bpmn-js 18.9.0 → 18.9.1

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v18.9.0
2
+ * bpmn-js - bpmn-modeler v18.9.1
3
3
  *
4
4
  * Copyright (c) 2014-present, camunda Services GmbH
5
5
  *
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Source Code: https://github.com/bpmn-io/bpmn-js
10
10
  *
11
- * Date: 2025-11-18
11
+ * Date: 2025-11-21
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -61776,7 +61776,7 @@
61776
61776
 
61777
61777
  eventBus.on('shape.changed', function({ element }) {
61778
61778
 
61779
- if (!isAny(element, ALLOWED_ELEMENTS)) {
61779
+ if (!isAny(element, ALLOWED_ELEMENTS) || !isElementSelected(element)) {
61780
61780
  return;
61781
61781
  }
61782
61782
 
@@ -61878,6 +61878,10 @@
61878
61878
  function getElementPath(element) {
61879
61879
  return graphicsFactory.getShapePath(element);
61880
61880
  }
61881
+
61882
+ function isElementSelected(element) {
61883
+ return selection.get().includes(element);
61884
+ }
61881
61885
  }
61882
61886
 
61883
61887
  LabelLink$1.$inject = [