excalidraw/src/element
Christopher Chedeau fed7054114
Fix hit testing threshold (#969)
* Fix hit testing threshold

- The bounding box was not correctly extended to take into account the threshold. It was only for y axis but not x.
- The bezier threshold was using 20 instead of 10 and not taking into account zoom level.

Both those issues are fixed and now the behavior looks good on all the shapes I can test.

* fix_tests
2020-03-15 13:42:18 -07:00
..
bounds.test.ts Multi Point Lines (based on Multi Point Arrows) (#660) 2020-02-04 13:45:22 +04:00
bounds.ts Abstract away or eliminate most of the mutation of the Elements array (#955) 2020-03-14 21:48:51 -07:00
collision.ts Fix hit testing threshold (#969) 2020-03-15 13:42:18 -07:00
handlerRectangles.ts More mobile tweaks (#790) 2020-02-21 11:34:18 -08:00
index.ts Fix many syncing issues (#952) 2020-03-14 20:46:57 -07:00
mutateElement.ts remove most setState({}) (#959) 2020-03-15 10:06:41 -07:00
newElement.test.ts [easy] run typechecking on CI (#954) 2020-03-14 21:12:39 -07:00
newElement.ts Abstract away or eliminate most of the mutation of the Elements array (#955) 2020-03-14 21:48:51 -07:00
resizeTest.ts Refactor ExcalidrawElement (#874) 2020-03-08 10:20:55 -07:00
showSelectedShapeActions.ts Refactor ExcalidrawElement (#874) 2020-03-08 10:20:55 -07:00
sizeHelpers.ts Abstract away or eliminate most of the mutation of the Elements array (#955) 2020-03-14 21:48:51 -07:00
textElement.ts Abstract away or eliminate most of the mutation of the Elements array (#955) 2020-03-14 21:48:51 -07:00
textWysiwyg.tsx Remove text trim (#947) 2020-03-14 14:00:20 -07:00
typeChecks.ts fix style pasting (#832) 2020-02-24 15:21:13 +01:00
types.ts remove closures from mutateElement, get rid of the element spreading (#902) 2020-03-10 20:11:02 -07:00