This commit is contained in:
parent
dd2079b975
commit
3c164581ce
7 changed files with 34 additions and 34 deletions
|
@ -266,13 +266,13 @@ function ApplyAddMethod(index: number, containerConfig: IAvailableContainer, par
|
|||
|
||||
if (lastChild !== undefined) {
|
||||
const [transformedX] = transformPosition(
|
||||
Number(lastChild.properties.x),
|
||||
Number(lastChild.properties.y),
|
||||
Number(lastChild.properties.width),
|
||||
lastChild.properties.x,
|
||||
lastChild.properties.y,
|
||||
lastChild.properties.width,
|
||||
lastChild.properties.XPositionReference
|
||||
);
|
||||
|
||||
x += transformedX + Number(lastChild.properties.width);
|
||||
x += transformedX + lastChild.properties.width;
|
||||
}
|
||||
}
|
||||
return x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue