Commit graph

256 commits

Author SHA1 Message Date
Steve Ruiz
70c8c84790 Adds shape tests (some stubs), fixes bugs 2021-07-13 20:34:43 +01:00
Steve Ruiz
322ce81fb6 Fixes dropped fills on draw shapes 2021-07-12 13:20:45 +01:00
Steve Ruiz
08c5166b61 Restore fill pointer events for all shapes 2021-07-12 12:48:07 +01:00
Steve Ruiz
eca210da6a Bumps state-designer 2021-07-12 12:17:47 +01:00
Steve Ruiz
74ff10bfd5 Various fixes
- Changes the brush color in dark mode
- Fixes the paste button
- Fixes a bug with pasting on mobile
- Adds a Sign Out button to the menu
- Hides the status bar in production
- Adds debug mode to preferences
- Refactors style panel
- Hides keyboard shortcuts when not on mobile
2021-07-11 13:51:01 +01:00
Steve Ruiz
293edd7683 Adds shapesToRender to state, uses fast pan 2021-07-11 08:03:20 +01:00
Steve Ruiz
9c867ae584 Fix bounds background, fix color for group border 2021-07-10 23:16:10 +01:00
Steve Ruiz
1965c97f68 Adds dark mode 2021-07-10 21:39:29 +01:00
Steve Ruiz
6fb1822467 Adds menu panel 2021-07-10 17:14:49 +01:00
Steve Ruiz
8b1072c3c3
Merge pull request #35 from tldraw/21-toggle-command-tests
Adds test for the toggle command, renames files to include test
2021-07-10 15:03:30 +01:00
Steve Ruiz
5957fb5db5 Adds test for the toggle command, renames files to include test 2021-07-10 15:00:36 +01:00
Steve Ruiz
4efa1092f1 Refactors tool panel 2021-07-10 13:01:59 +01:00
Steve Ruiz
f9c688056e Fixes bug with SVG export 2021-07-09 23:35:38 +01:00
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