fix(rules): adjust participant size + fix test case
This commit is contained in:
parent
711a2df758
commit
e66f2d92aa
|
@ -503,7 +503,7 @@ function canResize(shape, newBounds) {
|
|||
}
|
||||
|
||||
if (is(shape, 'bpmn:Participant')) {
|
||||
return !newBounds || (newBounds.width >= 100 && newBounds.height >= 80);
|
||||
return !newBounds || (newBounds.width >= 250 && newBounds.height >= 50);
|
||||
}
|
||||
|
||||
if (is(shape, 'bpmn:TextAnnotation')) {
|
||||
|
|
|
@ -884,7 +884,7 @@ describe('features/modeling/rules - BpmnRules', function() {
|
|||
|
||||
describe('should resize', function() {
|
||||
|
||||
it('Lane', inject(function(bpmnRules) {
|
||||
it('Lane', inject(function(bpmnRules, elementRegistry) {
|
||||
|
||||
// given
|
||||
var laneElement = elementRegistry.get('Lane');
|
||||
|
|
Loading…
Reference in New Issue