fix(modeling): adjust default size for participants
From 600x300 -> 600x250. Closes #262
This commit is contained in:
parent
e912e1f89c
commit
4f236382a0
|
@ -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 };
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue