mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Reimplement rectangle intersection (#8367)
This commit is contained in:
parent
5daf1a1b4e
commit
8420e1aa13
4 changed files with 131 additions and 74 deletions
|
@ -77,6 +77,6 @@ test("unselected bound arrows update when rotating their target elements", async
|
|||
expect(textArrow.x).toEqual(360);
|
||||
expect(textArrow.y).toEqual(300);
|
||||
expect(textArrow.points[0]).toEqual([0, 0]);
|
||||
expect(textArrow.points[1][0]).toBeCloseTo(-94, 1);
|
||||
expect(textArrow.points[1][1]).toBeCloseTo(-116.1, 1);
|
||||
expect(textArrow.points[1][0]).toBeCloseTo(-94, 0);
|
||||
expect(textArrow.points[1][1]).toBeCloseTo(-116.1, 0);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue