Commit graph

229 commits

Author SHA1 Message Date
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
Steve Ruiz
9577d25934 Delete client-supa.ts 2021-06-29 16:00:54 +01:00
Steve Ruiz
364dbe0fd9 Removes expensive immer current calls 2021-06-29 15:54:46 +01:00
Steve Ruiz
2ac8a15761 Renaming folders 2021-06-29 13:12:30 +01:00
Steve Ruiz
45223e2a8d Big restructure of utils 2021-06-29 13:00:59 +01:00
Steve Ruiz
80d2ba5f00 cursors! 2021-06-28 23:22:23 +01:00
Steve Ruiz
36fc386269 Stubs initial API for coop with Pusher 2021-06-28 21:45:06 +01:00
Steve Ruiz
8ff8b87a9e perf improvements around selected / hovered shapes 2021-06-28 13:13:34 +01:00
Steve Ruiz
6ef197e30a Add API for points to draw code class 2021-06-27 20:50:11 +01:00
Steve Ruiz
a9a8629ad2 Update scripts 2021-06-27 14:55:48 +01:00
Steve Ruiz
3f4f5e73ae Adds initial docs for code editor 2021-06-27 14:53:06 +01:00
Steve Ruiz
d28376845f Removes fast pan update (which seemed to be slower?) 2021-06-27 13:47:35 +01:00
Steve Ruiz
14902099f9 Improves window resizing, adds shouldRender to shapes 2021-06-27 13:28:54 +01:00
Steve Ruiz
ec7ec06a6d Fix missing shapes when resizing window 2021-06-27 13:12:28 +01:00
Steve Ruiz
61399fb9d0 Improves code editor types, adds es5 lib 2021-06-27 12:58:08 +01:00