fix(rules): adjust participant size + fix test case

This commit is contained in:
Nico Rehwaldt 2015-08-21 13:58:23 +02:00 committed by pedesen
parent 711a2df758
commit e66f2d92aa
2 changed files with 2 additions and 2 deletions

View File

@ -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')) {

View File

@ -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');