fix(auto-resize): do not include labels for resize calculation
This commit is contained in:
parent
ede384b5ac
commit
6bed01e023
|
@ -70,6 +70,10 @@ function AutoResize(eventBus, canvas, modeling){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (shape.labelTarget) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!is(target, 'bpmn:Participant') && !is(target, 'bpmn:Lane')) {
|
if (!is(target, 'bpmn:Participant') && !is(target, 'bpmn:Lane')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue