mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: tweak editing behavior (#2668)
* feat: tweak editing behavior * fix tests Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
0cf5f1ac1f
commit
bc414ccaaf
5 changed files with 161 additions and 133 deletions
|
@ -69,9 +69,9 @@ describe("move element", () => {
|
|||
|
||||
// bind line to two rectangles
|
||||
bindOrUnbindLinearElement(
|
||||
line as NonDeleted<ExcalidrawLinearElement>,
|
||||
rectA as ExcalidrawRectangleElement,
|
||||
rectB as ExcalidrawRectangleElement,
|
||||
line.get() as NonDeleted<ExcalidrawLinearElement>,
|
||||
rectA.get() as ExcalidrawRectangleElement,
|
||||
rectB.get() as ExcalidrawRectangleElement,
|
||||
);
|
||||
|
||||
// select the second rectangles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue