chore(element-factory): add default size for group
This commit is contained in:
parent
20f6d9ab03
commit
569ef62f13
|
@ -187,6 +187,10 @@ ElementFactory.prototype._getDefaultSize = function(semantic) {
|
||||||
return { width: 100, height: 30 };
|
return { width: 100, height: 30 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is(semantic, 'bpmn:Group')) {
|
||||||
|
return { width: 150, height: 120 };
|
||||||
|
}
|
||||||
|
|
||||||
return { width: 100, height: 80 };
|
return { width: 100, height: 80 };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue