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/renderer
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
..
helpers.ts fix: split renderScene so that locales aren't imported unnecessarily (#7718) 11 months ago
interactiveScene.ts refactor: update collision from ga to vector geometry (#7636) 10 months ago
renderElement.ts feat: text measurements based on font metrics (#7693) 11 months ago
renderSnaps.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
roundRect.ts build: decouple package deps and introduce yarn workspaces (#7415) 1 year ago
staticScene.ts fix: split renderScene so that locales aren't imported unnecessarily (#7718) 11 months ago
staticSvgScene.ts feat: text measurements based on font metrics (#7693) 11 months ago