Commit graph

243 commits

Author SHA1 Message Date
Steve Ruiz
bdcdb09162 Fixes "done" key on iOS 2021-07-09 21:39:29 +01:00
Steve Ruiz
55ecec9e7b Fixes text selection on touch devices. 2021-07-09 21:32:04 +01:00
Steve Ruiz
956c0717df Further simplifies shape tree 2021-07-09 20:52:08 +01:00
Steve Ruiz
552c8457ef Adjust pointer events for shapes 2021-07-09 20:43:18 +01:00
Steve Ruiz
5d12a2fd54 Fix zoom CSS on zoom 2021-07-09 19:42:43 +01:00
Steve Ruiz
b2360550d9 Refactors shapes 2021-07-09 17:15:27 +01:00
Steve Ruiz
54ea0e3a2d Adds testMode, tests for RectangleShape 2021-07-09 09:59:43 +01:00
Steve Ruiz
d22b31000e Fixes arrow rendering when style changes 2021-07-08 19:09:37 +01:00
Steve Ruiz
6227c0e255 Update arrow.tsx 2021-07-08 13:46:34 +01:00
Steve Ruiz
b9eed30518 Merge branch 'main' into feature-27-round-arrow-angle 2021-07-08 13:36:31 +01:00
Steve Ruiz
1ca69951de Improves arrow draw stroke 2021-07-08 13:26:55 +01:00
Steve Ruiz
64fa2a19b1 Improves arrowheads, curved arrows 2021-07-08 13:15:23 +01:00
Steve Ruiz
7ddd2f8c66 Fixes bugs on arrow 2021-07-08 12:01:33 +01:00
Steve Ruiz
5c87bfd4c5 Removes arrow command / session, replaces with handle sessions 2021-07-08 11:05:25 +01:00
Steve Ruiz
1c9fcba6b0 Update polyline.tsx 2021-07-08 11:01:41 +01:00
Steve Ruiz
e4e753095f Adds getFromCache 2021-07-08 10:59:47 +01:00
Steve Ruiz
4a492dcefc Updates tests 2021-07-07 14:53:03 +01:00
Steve Ruiz
3ae7eadfea Makes home a room 2021-07-07 14:02:48 +01:00
Steve Ruiz
ad0ce1ba3a Fixes save and load states, fix group bg 2021-07-07 13:46:46 +01:00
Steve Ruiz
ee48a7afb8 Minor update to state 2021-07-07 10:51:19 +01:00
Steve Ruiz
be359e6406 Potentially fixes bug when roomId changes 2021-07-07 10:50:12 +01:00
Steve Ruiz
11b157dc88 Update coop-state.ts 2021-07-04 21:27:57 +01:00
Steve Ruiz
a315f8e9a6 Adds button to copy state to clipboard 2021-07-04 19:54:10 +01:00
Steve Ruiz
8180146eb3 Adds provisional logger 2021-07-04 19:45:07 +01:00
Steve Ruiz
48c659a68a Trims default false boolean props
This should reduce the size of files / saves, for example.
2021-07-04 09:47:37 +01:00
Steve Ruiz
17940d82d6 Improves draw shape, trims unused code, fixes paste on mobile 2021-07-04 09:24:45 +01:00
Steve Ruiz
fb17d4ee02 Simplifies styles 2021-07-03 17:30:06 +01:00
Steve Ruiz
ba8ddee3a0 Improves draw shape docs 2021-07-03 16:06:27 +01:00
Steve Ruiz
a454586237 Adds copy / paste / save / load buttons to menu 2021-07-03 15:09:49 +01:00
Steve Ruiz
8a747fe82f Adds support for solid / dotted / dashed draw lines 2021-07-03 14:28:43 +01:00
Steve Ruiz
496606c10f Adding tab support for text area 2021-07-02 13:04:45 +01:00
Steve Ruiz
c4d9116426 Fix text rendering, text layout due to mismatched vertical alignments. 2021-07-02 11:48:49 +01:00
Steve Ruiz
7247b864db Update state.ts 2021-07-02 08:52:42 +01:00
Steve Ruiz
39b943248f Updates style panel 2021-07-01 23:11:09 +01:00
Steve Ruiz
04efb6f880 Starts on readme. 2021-07-01 17:46:01 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +01:00
Steve Ruiz
50d4517d0d remove pusher 2021-06-30 23:55:00 +01:00
Steve Ruiz
b426c40bd8 Improve text bug 2021-06-30 23:44:25 +01:00
Steve Ruiz
7da573ffdb Adds provisional keyboard panning 2021-06-30 21:56:42 +01:00
Steve Ruiz
e5408219de Update state.ts 2021-06-30 21:34:30 +01:00
Steve Ruiz
778daeb8ff Allow for room loading 2021-06-30 21:33:30 +01:00
Steve Ruiz
21c15e5fae Merge branch 'main' of https://github.com/steveruizok/tldraw into main 2021-06-30 21:32:20 +01:00
Steve Ruiz
49baa47a0e Updates cursor logic 2021-06-30 21:31:29 +01:00
Steve Ruiz
467424d93e Fixes arrow bug 2021-06-30 21:30:48 +01:00
Steve Ruiz
5443b10c1d Clear page / clear document state shortcut 2021-06-30 14:03:36 +01:00
Steve Ruiz
2048b2bb70 Update hacks.ts 2021-06-29 19:30:57 +01:00
Steve Ruiz
5d66c153be Fix missing shape (accept it) 2021-06-29 19:29:33 +01:00
Steve Ruiz
d828ac072f Fix pinching resetting tool 2021-06-29 19:08:25 +01:00
Steve Ruiz
a230e4d83a fix ios perf 2021-06-29 18:58:07 +01:00
Steve Ruiz
a6b8c23fce fix big on transform 2021-06-29 17:04:45 +01:00