bpmn-js 17.0.1 → 17.0.2

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 v17.0.1
2
+ * bpmn-js - bpmn-modeler v17.0.2
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: 2024-02-15
11
+ * Date: 2024-02-16
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -58503,10 +58503,15 @@
58503
58503
  });
58504
58504
 
58505
58505
  // add label hit
58506
- this._interactionEvents.createBoxHit(gfx, 'all', {
58506
+ var box = isHorizontal$3(element) ? {
58507
58507
  width: LABEL_WIDTH,
58508
58508
  height: element.height
58509
- });
58509
+ } : {
58510
+ width: element.width,
58511
+ height: LABEL_HEIGHT
58512
+ };
58513
+
58514
+ this._interactionEvents.createBoxHit(gfx, 'all', box);
58510
58515
 
58511
58516
  // indicate that we created a hit
58512
58517
  return true;