fix(snapping): add participant specific min resize bounds

closes #290
This commit is contained in:
Ricardo Matias 2015-05-28 09:30:50 +02:00 committed by Nico Rehwaldt
parent 084d831d9e
commit cced954f37
2 changed files with 6 additions and 2 deletions

View File

@ -131,6 +131,10 @@ function BpmnSnapping(eventBus, canvas) {
if (is(shape, 'bpmn:Participant')) {
context.minDimensions = { width: 400, height: 200 };
context.childrenBoxPadding = {
left: 50,
right: 35
};
}
if (is(shape, 'bpmn:TextAnnotation')) {