Steve Ruiz
03326adbaf
Replace own theme solution with next-themes
2021-07-14 09:04: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
70c025e6d2
Fix select color on dark mode
2021-07-10 22:56:49 +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
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
5475197509
Add error to debug window
2021-07-07 15:42:17 +01:00
Steve Ruiz
fb17d4ee02
Simplifies styles
2021-07-03 17:30:06 +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
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
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
Steve Ruiz
ad0aff9fea
Update hovered-shape.tsx
2021-06-28 14:01:49 +01:00
Steve Ruiz
8ff8b87a9e
perf improvements around selected / hovered shapes
2021-06-28 13:13:34 +01:00
Steve Ruiz
bb2268a1f4
Fixes font issues with Recursive
2021-06-27 22:30:37 +01:00
Steve Ruiz
9f16f886ea
Improves performance issue caused by @radix-ui/use-direction
2021-06-27 20:19:57 +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
d1a3860bb1
Fixes a perf-killing deepCompare in context menu
...
Was deep comparing an array of actual selected shapes, rather than selected shape ids
2021-06-27 10:07:20 +01:00
Steve Ruiz
ff58073d12
Adds more tests, simplifies draw tool
2021-06-26 12:52:36 +01:00
Steve Ruiz
32922b3f85
Adds error boundary, improves code shapes types.
2021-06-24 23:09:36 +01:00
Steve Ruiz
bdafae3db6
Fix double undos, cleans up utils
2021-06-24 13:34:43 +01:00
Steve Ruiz
82bd129e3a
Fixes utils imports
2021-06-24 09:18:14 +01:00
Steve Ruiz
84827eea96
fix early break in sessions
2021-06-23 16:51:22 +01:00
Steve Ruiz
d5fe5612e1
Fixes events with shapes, adds test for selection
2021-06-23 15:39:14 +01:00
Steve Ruiz
864ded959a
big cleanup
2021-06-21 22:35:28 +01:00
Steve Ruiz
fc2e3b3c4c
Adds copy to svg
2021-06-20 23:01:40 +01:00
Steve Ruiz
6ff7b0c50d
Improves mobile touch events
2021-06-18 16:19:10 +01:00
Steve Ruiz
1b9e8857e0
Fix blocking text element
2021-06-18 15:39:07 +01:00
Steve Ruiz
5f71f5c38b
Fixes text on mobile (iOS)
2021-06-18 14:55:36 +01:00
Steve Ruiz
eccf5f6307
Adds copy and paste
2021-06-18 11:14:23 +01:00
Steve Ruiz
d0d24e9c71
fixes zstacking with text
2021-06-17 22:50:04 +01:00
Steve Ruiz
946fdbab4c
Adds alignment to context menu
2021-06-17 13:03:08 +01:00