Commit graph

55 commits

Author SHA1 Message Date
Steve Ruiz
b27c487147 Fixes stroke with on "drawn" shapes 2021-06-08 12:06:24 +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
45fd645885 fixes rotation on drawn shapes 2021-06-06 21:49:15 +01:00
Steve Ruiz
c51c6631e1 improves hit testing for draw shapes 2021-06-06 20:34:27 +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
72accc5f44 Adds pressure to pointer data 2021-06-05 17:57:29 +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
72b6db12c4 Improves handles for arrows 2021-06-05 07:36:39 +01:00
Steve Ruiz
d99cacd105 Fixes more bugs with groups 2021-06-04 22:21:03 +01:00
Steve Ruiz
506eecc95f Adds groups 2021-06-04 17:08:43 +01:00
Steve Ruiz
5f45aed6a5 Update index.tsx 2021-06-03 17:16:11 +01:00
Steve Ruiz
475d04e3d0 Improves layout, code panel, tweaks draw 2021-06-03 17:13:23 +01:00
Steve Ruiz
34256f992a adds tooltips, improves arrow 2021-06-02 22:17:38 +01:00
Steve Ruiz
492d3e9769 improves mobile layout 2021-06-02 17:11:42 +01:00
Steve Ruiz
0fe036f5e4 Update index.tsx 2021-06-02 16:59:03 +01:00
Steve Ruiz
bef35b9207 cleans up shape utils 2021-06-02 16:58:51 +01:00
Steve Ruiz
9ab86ba9ae Removes translateTo, rotateTo 2021-06-02 16:05:44 +01:00
Steve Ruiz
7c768bddf5 Adds quick style selects, rewrites styling 2021-06-02 12:50:34 +01:00
Steve Ruiz
815bf1109c Adds dashes 2021-06-01 22:49:32 +01:00
Steve Ruiz
ea996b627b Improves layout on mobile 2021-06-01 09:56:41 +01:00
Steve Ruiz
a94f4ee170 Fixes bounds for arrows 2021-05-31 21:44:21 +01:00
Steve Ruiz
bcffee6458 Adds arrows, handles 2021-05-31 20:13:43 +01:00
Steve Ruiz
facd9e9845 Fixes transforms on drawn shapes, adds straight line drawing with draw tool 2021-05-30 22:24:31 +01:00
Steve Ruiz
5b053f7c4e Fixes missing lines in line/ray, fixes dots 2021-05-30 21:14:52 +01:00
Steve Ruiz
2af0d7b3a7 improves touch events when drawing 2021-05-30 14:20:25 +01:00
Steve Ruiz
bc6f5cf5b7 Improves rotation? I think? 2021-05-29 23:27:19 +01:00
Steve Ruiz
09659ab9ba Adds zoom controls 2021-05-29 14:59:11 +01:00
Steve Ruiz
68577d1838 Fixes bug on drawn dots 2021-05-29 13:54:33 +01:00
Steve Ruiz
3329c16e57 Adds boolean props for lock, hide, aspect lock 2021-05-29 11:12:28 +01:00
Steve Ruiz
39ef1cf317 Improves hover appearance 2021-05-28 22:05:40 +01:00
Steve Ruiz
fe3980c80c Adds tool lock 2021-05-28 21:30:27 +01:00
Steve Ruiz
c95c54dae6 Continues on drawing / rotation 2021-05-28 17:25:43 +01:00
Steve Ruiz
9fd8ef8421 improves select display 2021-05-28 15:37:23 +01:00
Steve Ruiz
8dfef5c302 Improves draw tool 2021-05-27 23:07:27 +01:00
Steve Ruiz
c41def99d3 Improves drawing 2021-05-27 19:51:25 +01:00
Steve Ruiz
7ef83dc508 Adds drawing 2021-05-27 18:59:40 +01:00
Steve Ruiz
e86cd8100d Update polyline.tsx 2021-05-27 12:42:08 +01:00
Steve Ruiz
733acfaf3a Improves default data 2021-05-26 11:59:03 +01:00
Steve Ruiz
6c8499309e Adds style panel, styles 2021-05-26 11:34:10 +01:00
Steve Ruiz
6da9e5f019 Fixes rotation, translation 2021-05-25 12:38:21 +01:00
Steve Ruiz
638b1b3494 Type experimentation 2021-05-25 12:16:01 +01:00
Steve Ruiz
71b8ac94af Updates code to mark isGenerated 2021-05-25 10:09:51 +01:00
Steve Ruiz
a1cc578bb9 Makes shapes immutable, adds parenting methods to utils 2021-05-25 10:00:59 +01:00
Steve Ruiz
f4e429af0e Adds zoom helpers, improves drag selection 2021-05-24 18:01:27 +01:00
Steve Ruiz
f11c35e941 Basic z ordering 2021-05-23 14:46:04 +01:00
Steve Ruiz
6582eb990c improve rotation 2021-05-23 09:30:20 +01:00