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/element
Ryan Di bbdcd30a73
refactor: update collision from ga to vector geometry (#7636)
* new collision api

* isPointOnShape

* removed redundant code

* new collision methods in app

* curve shape takes starting point

* clean up geometry

* curve rotation

* freedraw

* inside curve

* improve ellipse inside check

* ellipse distance func

* curve inside

* include frame name bounds

* replace previous private methods for getting elements at x,y

* arrow bound text hit detection

* keep iframes on top

* remove dependence on old collision methods from app

* remove old collision functions

* move some hit functions outside of app

* code refactor

* type

* text collision from inside

* fix context menu test

* highest z-index collision

* fix 1px away binding test

* strictly less

* remove unused imports

* lint

* 'ignore' resize flipping test

* more lint fix

* skip 'flips while resizing' test

* more test

* fix merge errors

* fix selection in resize test

* added a bit more comment

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
10 months ago
..
ElementCanvasButtons.scss build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
ElementCanvasButtons.tsx fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 12 months ago
binding.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
bounds.test.ts fix: make bounds independent of scene (#7679) 12 months ago
bounds.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
collision.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
containerCache.ts fix: decouple container cache logic to containerCache. (#7637) 1 year ago
dragElements.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 12 months ago
embeddable.ts feat: command palette (#7804) 11 months ago
image.ts fix: remove dependency of t from clipboard and image (#7712) 12 months ago
index.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
linearElementEditor.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
mutateElement.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
newElement.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
newElement.ts feat: text measurements based on font metrics (#7693) 11 months ago
resizeElements.ts feat: text measurements based on font metrics (#7693) 11 months ago
resizeTest.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 12 months ago
showSelectedShapeActions.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
sizeHelpers.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
sizeHelpers.ts fix: make bounds independent of scene (#7679) 12 months ago
sortElements.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
sortElements.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
textElement.test.ts fix: make getBoundTextElement and related helpers pure (#7601) 1 year ago
textElement.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
textWysiwyg.test.tsx fix: decouple container cache logic to containerCache. (#7637) 1 year ago
textWysiwyg.tsx feat: text measurements based on font metrics (#7693) 11 months ago
transformHandles.ts fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663) 12 months ago
typeChecks.test.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
typeChecks.ts feat: support roundness for images (#7558) 1 year ago
types.ts feat: text measurements based on font metrics (#7693) 11 months ago