You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
success/packages/excalidraw/scene
Aakansha Doshi 47f87f4ecb
fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663)
* fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap

* lint

* fix

* use non deleted elements where possible

* use non deleted elements map in actions

* pass elementsMap instead of array to elementOverlapsWithFrame

* lint

* fix

* pass elementsMap to getElementsCorners

* pass elementsMap to getEligibleElementsForBinding

* pass elementsMap in bindOrUnbindSelectedElements and unbindLinearElements

* pass elementsMap in elementsAreInFrameBounds,elementOverlapsWithFrame,isCursorInFrame,getElementsInResizingFrame

* pass elementsMap in getElementsWithinSelection, getElementsCompletelyInFrame, isElementContainingFrame, getElementsInNewFrame

* pass elementsMap to getElementWithTransformHandleType

* pass elementsMap to getVisibleGaps, getMaximumGroups,getReferenceSnapPoints,snapDraggedElements

* lint

* pass elementsMap to bindTextToShapeAfterDuplication,bindLinearElementToElement,getTextBindableContainerAtPosition

* revert changes for bindTextToShapeAfterDuplication
1 year ago
..
Fonts.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 1 year ago
Renderer.ts refactor: decoupling global Scene state part-1 (#7577) 1 year ago
Scene.ts fix: make getBoundTextElement and related helpers pure (#7601) 1 year ago
Shape.ts feat: remove `ExcalidrawEmbeddableElement.validated` flag (#7539) 1 year ago
ShapeCache.ts feat: remove `ExcalidrawEmbeddableElement.validated` flag (#7539) 1 year ago
comparisons.ts feat: support roundness for images (#7558) 1 year ago
export.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 1 year ago
index.ts fix: don't bundle react and jotai when importing from scene (#7640) 1 year ago
scroll.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
scrollbars.ts refactor: decoupling global Scene state part-1 (#7577) 1 year ago
selection.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
selection.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 1 year ago
types.ts fix: make getBoundTextElement and related helpers pure (#7601) 1 year ago
zoom.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago