mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-08-16 04:41:02 +08:00
chore(label-editing): deselect element during editing
This commit is contained in:
@ -42,7 +42,7 @@ function LabelSupport(eventBus, modeling, bpmnFactory) {
|
||||
|
||||
var label = element.label;
|
||||
|
||||
if (label && dragContext.shapes.indexOf(label) === -1) {
|
||||
if (label && !label.hidden && dragContext.shapes.indexOf(label) === -1) {
|
||||
dragContext.shapes.push(label);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user