Aakansha Doshi 25c6056b03
feat: Don't add midpoint until dragged beyond a threshold (#5927)
* Don't add midpoint until dragged beyond a threshold

* remove unnecessary code

* fix tests

* fix

* add spec

* remove isMidpoint

* cleanup

* fix threshold for zoom

* split into shouldAddMidpoint and addMidpoint

* wrap in flushSync for synchronous updates

* remove threshold for line editor and add spec

* [unrelated] fix stack overflow state update

* fix tests

* don't drag arrow when dragging to add mid point

* add specs

Co-authored-by: dwelle <luzar.david@gmail.com>
2022-11-29 00:01:53 +05:30
..
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2021-10-21 22:05:48 +02:00
2022-07-22 11:20:36 +05:30
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-07-22 11:20:36 +05:30
2022-11-01 17:29:58 +01:00
2021-10-21 22:05:48 +02:00
2021-10-21 22:05:48 +02:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-02-03 20:34:59 +05:30
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00
2022-11-01 17:29:58 +01:00