parent
084d831d9e
commit
cced954f37
|
@ -131,6 +131,10 @@ function BpmnSnapping(eventBus, canvas) {
|
||||||
|
|
||||||
if (is(shape, 'bpmn:Participant')) {
|
if (is(shape, 'bpmn:Participant')) {
|
||||||
context.minDimensions = { width: 400, height: 200 };
|
context.minDimensions = { width: 400, height: 200 };
|
||||||
|
context.childrenBoxPadding = {
|
||||||
|
left: 50,
|
||||||
|
right: 35
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is(shape, 'bpmn:TextAnnotation')) {
|
if (is(shape, 'bpmn:TextAnnotation')) {
|
||||||
|
@ -261,4 +265,4 @@ BpmnSnapping.prototype.addTargetSnaps = function(snapPoints, shape, target) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -220,4 +220,4 @@ describe('features/snapping - BpmnSnapping', function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue