excalidraw/packages/excalidraw/data
Aakansha Doshi 9013c84524
fix: make LinearElementEditor independent of scene (#7670)
* fix: make LinearElementEditor independent of scene

* more fixes

* pass elements and elementsMap to maybeBindBindableElement,getHoveredElementForBinding,bindingBorderTest,getElligibleElementsForBindableElementAndWhere,isLinearElementEligibleForNewBindingByBindable

* replace `ElementsMap` with `NonDeletedSceneElementsMap` & remove unused params

* fix lint

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-02-19 11:49:01 +05:30
..
__snapshots__ fix: keep customData when converting to ExcalidrawElement (#7656) 2024-02-08 17:23:10 +05:30
ai build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
blob.ts build: Welcome ESM and Bye Bye UMD (#7441) 2024-01-01 20:18:44 +05:30
EditorLocalStorage.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
encode.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
encryption.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
filesystem.ts fix: file save timing out with big file sizes (#7649) 2024-02-03 11:53:35 +01:00
image.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
index.ts fix: remove t from getDefaultAppState and allow name to be nullable (#7666) 2024-02-15 11:11:18 +05:30
json.ts fix: remove t from getDefaultAppState and allow name to be nullable (#7666) 2024-02-15 11:11:18 +05:30
library.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
magic.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
resave.ts fix: remove t from getDefaultAppState and allow name to be nullable (#7666) 2024-02-15 11:11:18 +05:30
restore.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 2024-02-16 11:35:01 +05:30
transform.test.ts fix: keep customData when converting to ExcalidrawElement (#7656) 2024-02-08 17:23:10 +05:30
transform.ts fix: make LinearElementEditor independent of scene (#7670) 2024-02-19 11:49:01 +05:30
types.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
url.test.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
url.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30