fix(modeling): adjust default size for participants

From 600x300 -> 600x250.

Closes #262
This commit is contained in:
Nico Rehwaldt 2015-05-05 13:29:28 +02:00
parent e912e1f89c
commit 4f236382a0
2 changed files with 9 additions and 9 deletions

View File

@ -117,7 +117,7 @@ ElementFactory.prototype._getDefaultSize = function(semantic) {
}
if (semantic.$instanceOf('bpmn:Participant')) {
return { width: 600, height: 300 };
return { width: 600, height: 250 };
}
return { width: 100, height: 80 };

View File

@ -59,7 +59,7 @@ describe('features/snapping - BpmnSnapping', function() {
// then
expect(bounds(participantShape)).toEqual({
width: 600, height: 300, x: 18, y: -58
width: 600, height: 250, x: 18, y: -8
});
}));
@ -82,7 +82,7 @@ describe('features/snapping - BpmnSnapping', function() {
// then
expect(bounds(participantShape)).toEqual({
width: 600, height: 300, x: 100, y: 52
width: 600, height: 250, x: 100, y: 52
});
}));
@ -121,7 +121,7 @@ describe('features/snapping - BpmnSnapping', function() {
// then
expect(bounds(participantShape)).toEqual({
width: 600, height: 300, x: 100, y: 250
x: 100, y: 275, width: 600, height: 250
});
}));
@ -160,7 +160,7 @@ describe('features/snapping - BpmnSnapping', function() {
// then
expect(bounds(participantShape)).toEqual({
width: 600, height: 300, x: 100, y: 250
x: 100, y: 275, width: 600, height: 250
});
}));