mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: multiple elements resizing regressions (#5586)
This commit is contained in:
parent
c8f6e3faa8
commit
f5379d1563
3 changed files with 53 additions and 32 deletions
|
@ -22,7 +22,7 @@ const _ce = ({
|
|||
backgroundColor: "#000",
|
||||
fillStyle: "solid",
|
||||
strokeWidth: 1,
|
||||
roughness: 1,
|
||||
roughness: 0,
|
||||
opacity: 1,
|
||||
x,
|
||||
y,
|
||||
|
@ -106,7 +106,7 @@ describe("getElementBounds", () => {
|
|||
} as ExcalidrawLinearElement);
|
||||
expect(x1).toEqual(360.3176068760539);
|
||||
expect(y1).toEqual(185.90654264413516);
|
||||
expect(x2).toEqual(473.8171188951176);
|
||||
expect(y2).toEqual(320.391865303557);
|
||||
expect(x2).toEqual(480.87005902729743);
|
||||
expect(y2).toEqual(320.4751269334226);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue