Commit graph

185 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
eca210da6a Bumps state-designer 2021-07-12 12:17:47 +01:00
Steve Ruiz
0a6e936ca7 Update status-bar.tsx 2021-07-11 14:07:22 +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
fd4ea1eec0 Adds elevations to floating container, adjusts canvas color on light mode 2021-07-10 23:20:44 +01:00
Steve Ruiz
9c867ae584 Fix bounds background, fix color for group border 2021-07-10 23:16:10 +01:00
Steve Ruiz
76831567da Fix page changing 2021-07-10 23:07:53 +01:00
Steve Ruiz
70c025e6d2 Fix select color on dark mode 2021-07-10 22:56:49 +01:00
Steve Ruiz
356b62c91e Fixes sponsorship page 2021-07-10 21:52:52 +01:00
Steve Ruiz
1965c97f68 Adds dark mode 2021-07-10 21:39:29 +01:00
Steve Ruiz
893c3d214a Clean up metakey in code editor events 2021-07-10 17:28:44 +01:00
Steve Ruiz
6fb1822467 Adds menu panel 2021-07-10 17:14:49 +01:00
Steve Ruiz
568f4b37e9 Update tools-panel.tsx 2021-07-10 13:15:09 +01:00
Steve Ruiz
9d462e9e12 Fixes icons, direction for tertiary buttons 2021-07-10 13:14:00 +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
e9d070f354 Show bounds when pinching 2021-07-09 21:19:10 +01:00
Steve Ruiz
97ae80baa0 Cleans up page / creates shape file 2021-07-09 21:04:41 +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
2e7ed423ad
Merge branch 'main' into testing-30-transform-command 2021-07-09 10:23:59 +01:00
Steve Ruiz
847767c060 Update types-import.ts 2021-07-09 10:22:22 +01:00
Steve Ruiz
54ea0e3a2d Adds testMode, tests for RectangleShape 2021-07-09 09:59:43 +01:00
Steve Ruiz
5475197509 Add error to debug window 2021-07-07 15:42:17 +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
db12ad97e8 Update code-panel.tsx 2021-07-03 15:52:38 +01:00
Steve Ruiz
e88567d7dc Update style-panel.tsx 2021-07-03 15:13:07 +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
c4d9116426 Fix text rendering, text layout due to mismatched vertical alignments. 2021-07-02 11:48:49 +01:00
Steve Ruiz
39b943248f Updates style panel 2021-07-01 23:11:09 +01:00
Steve Ruiz
52ed678a73 Update shape.tsx 2021-07-01 15:05:54 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +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
49baa47a0e Updates cursor logic 2021-06-30 21:31:29 +01:00
Steve Ruiz
5d66c153be Fix missing shape (accept it) 2021-06-29 19:29:33 +01:00
Steve Ruiz
a6b8c23fce fix big on transform 2021-06-29 17:04:45 +01:00
Steve Ruiz
84949fffe6 Fix missing shapes, I hope 2021-06-29 16:56:38 +01:00
Steve Ruiz
9e3d2eb7cd Only show controls when present 2021-06-29 15:58:27 +01:00
Steve Ruiz
364dbe0fd9 Removes expensive immer current calls 2021-06-29 15:54:46 +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