chore(label-editing): deselect element during editing

This commit is contained in:
Nico Rehwaldt
2014-09-15 14:42:43 +02:00
parent 4428be4227
commit 66c7a31d34
2 changed files with 30 additions and 8 deletions

View File

@ -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);
}
});