Commit graph

46 commits

Author SHA1 Message Date
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
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
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
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
ad0ce1ba3a Fixes save and load states, fix group bg 2021-07-07 13:46:46 +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
39b943248f Updates style panel 2021-07-01 23:11:09 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +01:00
Steve Ruiz
467424d93e Fixes arrow bug 2021-06-30 21:30:48 +01:00
Steve Ruiz
14902099f9 Improves window resizing, adds shouldRender to shapes 2021-06-27 13:28:54 +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
75e60d5eb2 Adds more tests for code 2021-06-25 13:21:33 +01:00
Steve Ruiz
000d029354 Adds Text shape, fixes typing for typescript 2021-06-25 12:24:08 +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
38534e0798 Fix arrow width on curved arrows 2021-06-23 19:00:06 +01:00
Steve Ruiz
4fb7096f2b Fixes bug with arrowhead, fits ellipse and rectangle sizes within bounding box 2021-06-23 16:00:23 +01:00
Steve Ruiz
d5fe5612e1 Fixes events with shapes, adds test for selection 2021-06-23 15:39:14 +01:00
Steve Ruiz
7d14791d00 Adds double-pointing handles action, toggled arrowheads, removes circles. 2021-06-22 22:06:51 +01:00
Steve Ruiz
9e2938c3d5 Generalize dash helper. 2021-06-22 19:13:16 +01:00
Steve Ruiz
f6c08508dc balances dashes for ellipses 2021-06-22 15:28:44 +01:00
Steve Ruiz
03603b5190 Creates standard shape fallback for dashed / dotted rects, ellipses 2021-06-22 06:22:37 +01:00
Steve Ruiz
864ded959a big cleanup 2021-06-21 22:35:28 +01:00