fix(auto-resize): do not include labels for resize calculation

This commit is contained in:
Nico Rehwaldt 2015-09-01 16:20:57 +02:00
parent ede384b5ac
commit 6bed01e023
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ function AutoResize(eventBus, canvas, modeling){
return;
}
if (shape.labelTarget) {
return;
}
if (!is(target, 'bpmn:Participant') && !is(target, 'bpmn:Lane')) {
return;
}