Commit graph

30 commits

Author SHA1 Message Date
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