Commit graph

97 commits

Author SHA1 Message Date
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
c4d9116426 Fix text rendering, text layout due to mismatched vertical alignments. 2021-07-02 11:48:49 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +01:00
Steve Ruiz
a6b8c23fce fix big on transform 2021-06-29 17:04:45 +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
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
0ee26a8493 Make updating code controls async 2021-06-25 12:01:22 +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
059d704404 restores code editor 2021-06-23 23:32:21 +01:00
Steve Ruiz
a24b7f7931 Adds tests, fixes bug on pre-complete sessions 2021-06-23 13:46:16 +01:00
Steve Ruiz
864ded959a big cleanup 2021-06-21 22:35:28 +01:00
Steve Ruiz
daa44f9911 Updates arrows 2021-06-21 14:13:16 +01:00
Steve Ruiz
aabc7e8e0f Adds text 2021-06-17 11:43:55 +01:00
Steve Ruiz
4ce2b8cc6b Improves file saving / page saving and loading 2021-06-16 13:09:45 +01:00
Steve Ruiz
027815f199 Adds most of text feature, except creation 2021-06-15 12:58:51 +01:00
Steve Ruiz
94fcca1685 Improves translating, breaks save/load again 2021-06-13 15:12:59 +01:00
Steve Ruiz
4a36ff7341 Fix bug in translating 2021-06-13 14:55:37 +01:00
Steve Ruiz
9123fd62fc Improving draw 2021-06-13 14:24:03 +01:00
Steve Ruiz
c8070857b1 Remove fancy draw prediction.
Until we have a better solution.
2021-06-13 09:10:30 +01:00
Steve Ruiz
a689422576 Improves(?) save / load 2021-06-12 20:40:26 +01:00
Steve Ruiz
e08f8f0116 Update draw-session.ts 2021-06-12 17:53:01 +01:00
Steve Ruiz
03e1904739 Skip projected points on mobile 2021-06-12 17:46:36 +01:00
Steve Ruiz
f90f51efc7 Reduces projection 2021-06-12 17:41:38 +01:00
Steve Ruiz
58c9fc9f83 Improves drawing 2021-06-12 17:34:38 +01:00
Steve Ruiz
b8d58f2d50 improve drawing 2021-06-12 17:04:11 +01:00
Steve Ruiz
fe833b6e3b Improve comments on draw 2021-06-12 09:25:04 +01:00
Steve Ruiz
ba9c5f6d97 fixes dot on drawing 2021-06-12 09:10:12 +01:00
Steve Ruiz
61f56b984e Fixes deleting pages, adds local file saving / loading 2021-06-11 11:11:42 +01:00
Steve Ruiz
f2d3231315 Adds context menu, "move to page" 2021-06-10 10:49:16 +01:00
Steve Ruiz
c48537121f Fixes brushing, selection, double-clicking 2021-06-09 17:10:00 +01:00
Steve Ruiz
5a7e79121a fixes code bug, adds sketchy circle 2021-06-08 11:32:20 +01:00
Steve Ruiz
84c93060d0 inky boxes 2021-06-07 22:12:14 +01:00
Steve Ruiz
350c1debde Moves selectedIds into page state, state mounts only one page state / page at a time 2021-06-07 12:18:50 +01:00
Steve Ruiz
704e92faa4 Improves performance for certain actions 2021-06-06 11:50:01 +01:00
Steve Ruiz
8623958e74 adds pressure sensitivity 2021-06-06 08:33:30 +01:00
Steve Ruiz
a52e91459f Fixes nesting groups 2021-06-05 20:36:46 +01:00
Steve Ruiz
81141e7bb5 improves arrow rotation 2021-06-05 15:29:49 +01:00
Steve Ruiz
554d55a9e3 improves bounds, arrow rotation 2021-06-05 08:42:17 +01:00
Steve Ruiz
ff72493381 Skips rotations for groups. 2021-06-04 22:34:12 +01:00
Steve Ruiz
d99cacd105 Fixes more bugs with groups 2021-06-04 22:21:03 +01:00
Steve Ruiz
9626461ea7 Fixes deleting undos 2021-06-04 19:49:27 +01:00
Steve Ruiz
fcb11f19e3 Fixes selection for shapes in a group 2021-06-04 18:56:46 +01:00
Steve Ruiz
d9cbda45e6 Fixes groups 2021-06-04 17:14:01 +01:00
Steve Ruiz
506eecc95f Adds groups 2021-06-04 17:08:43 +01:00
Steve Ruiz
9877c2ff97 Restores selected indicator, removes hook for isSelected on shape 2021-06-03 22:40:27 +01:00
Steve Ruiz
5ba56216d0 Adds page control, pages 2021-06-03 13:06:39 +01:00