Comparing version 17.0.1 to 17.0.2
import { is } from '../../util/ModelUtil'; | ||
import { isExpanded } from '../../util/DiUtil'; | ||
import { | ||
isExpanded, | ||
isHorizontal | ||
} from '../../util/DiUtil'; | ||
@@ -103,7 +106,12 @@ /** | ||
// add label hit | ||
this._interactionEvents.createBoxHit(gfx, 'all', { | ||
var box = isHorizontal(element) ? { | ||
width: LABEL_WIDTH, | ||
height: element.height | ||
}); | ||
} : { | ||
width: element.width, | ||
height: LABEL_HEIGHT | ||
}; | ||
this._interactionEvents.createBoxHit(gfx, 'all', box); | ||
// indicate that we created a hit | ||
@@ -110,0 +118,0 @@ return true; |
{ | ||
"name": "bpmn-js", | ||
"version": "17.0.1", | ||
"version": "17.0.2", | ||
"description": "A bpmn 2.0 toolkit and web modeler", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4893832
124540