style(collection-marker): adjust svg path to align with parallel marker
Closes #1371
This commit is contained in:
parent
4b46f695ce
commit
5d339676f2
|
@ -1829,7 +1829,7 @@ export default function BpmnRenderer(
|
|||
|
||||
function renderDataItemCollection(parentGfx, element) {
|
||||
|
||||
var yPosition = (element.height - 16) / element.height;
|
||||
var yPosition = (element.height - 18) / element.height;
|
||||
|
||||
var pathData = pathMap.getScaledPath('DATA_OBJECT_COLLECTION_PATH', {
|
||||
xScaleFactor: 1,
|
||||
|
@ -1837,7 +1837,7 @@ export default function BpmnRenderer(
|
|||
containerWidth: element.width,
|
||||
containerHeight: element.height,
|
||||
position: {
|
||||
mx: 0.451,
|
||||
mx: 0.33,
|
||||
my: yPosition
|
||||
}
|
||||
});
|
||||
|
|
|
@ -171,14 +171,11 @@ export default function PathMap() {
|
|||
widthElements: [10, 40, 50, 60]
|
||||
},
|
||||
'DATA_OBJECT_COLLECTION_PATH': {
|
||||
d:'m {mx}, {my} ' +
|
||||
'm 0 15 l 0 -15 ' +
|
||||
'm 4 15 l 0 -15 ' +
|
||||
'm 4 15 l 0 -15 ',
|
||||
height: 61,
|
||||
width: 51,
|
||||
heightElements: [12],
|
||||
widthElements: [1, 6, 12, 15]
|
||||
d: 'm{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10',
|
||||
height: 10,
|
||||
width: 10,
|
||||
heightElements: [],
|
||||
widthElements: []
|
||||
},
|
||||
'DATA_ARROW': {
|
||||
d:'m 5,9 9,0 0,-3 5,5 -5,5 0,-3 -9,0 z',
|
||||
|
|
Loading…
Reference in New Issue