Ryan Di
9954e5f3c2
use crop hash in svg export to fix multi instance crop error
2024-10-22 17:16:19 +08:00
Ryan Di
0cc70d07c7
add test for ratio cropping
2024-10-15 17:34:53 +08:00
Ryan Di
359a2f23ae
remove rounding
2024-10-15 16:34:48 +08:00
Ryan Di
467a4a2a6a
shift to crop with initial aspect ratio
2024-10-15 16:23:00 +08:00
Ryan Di
a7b55da49e
remove todo
2024-10-15 14:09:03 +08:00
Ryan Di
4f82c32861
fix image hit and increase mini size to 10
2024-10-11 17:58:03 +08:00
dwelle
8701a5f843
fix: actionCropEditor not working
2024-10-10 23:58:52 +02:00
dwelle
c498247e0f
fix: undo/redo
2024-10-10 23:58:28 +02:00
Ryan Di
81e1d61d42
demo: image selection with no padding
2024-10-09 19:44:08 +08:00
Ryan Di
741c8dec31
apply projection to angle 0 drag move as well
2024-10-09 19:17:57 +08:00
Ryan Di
da0481683a
change cropElement to id to work with undo/redo
2024-10-09 19:07:40 +08:00
Ryan Di
58307a96dc
normalize before projection to improve rotated crop region drag
2024-10-09 18:16:09 +08:00
Ryan Di
1a0755cd56
add shortcut to context menu
2024-10-09 17:53:53 +08:00
Ryan Di
c742b4847f
center icon
2024-10-09 17:46:08 +08:00
Ryan Di
bcb50188b8
add diagram link
2024-10-09 14:54:18 +08:00
Ryan Di
bdb1ec387d
add missing type
2024-10-09 13:33:22 +08:00
Ryan Di
b0375fe5db
refactor to simplify tests
2024-10-09 13:28:17 +08:00
Ryan Di
940099f85d
lint
2024-10-09 13:27:45 +08:00
Ryan Di
e30fd9960d
account for rotation when moving the crop region
2024-10-08 12:04:51 +08:00
Ryan Di
80ff1562b8
improve discoverability
2024-10-07 21:21:06 +08:00
Ryan Di
3f00762a77
svg export
2024-10-07 17:56:37 +08:00
Ryan Di
7b012b1cad
merge with master
2024-10-04 17:08:36 +08:00
Ryan Di
a02c4cb140
adjust crop handles
2024-10-04 16:50:42 +08:00
Ryan Di
3a01122093
make cropping work with flipping
2024-10-04 14:27:13 +08:00
David Luzar
47ee8a0094
refactor: point()
-> pointFrom()
to fix compiler issue ( #8578 )
2024-10-01 21:27:17 +02:00
Ryan Di
bccd2bf30d
simplify properties further
2024-09-30 16:11:00 +08:00
Subhadeep Sengupta
a977dd1bf5
feat: Added reddit links as embeddable ( #8099 )
...
feat: #8063 Added reddit links as embeddable
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2024-09-28 11:49:18 +05:30
Ryan Di
50e4a0b37d
set a min width and height for crop
2024-09-25 16:04:18 +08:00
Ryan Di
9e80c9e3dd
do not resize when in crop mode
2024-09-25 15:59:00 +08:00
Ryan Di
afdf38e47c
init width and height when dragging to create img
2024-09-25 15:38:01 +08:00
Ryan Di
06a7a51baa
simplify app and pointer down state
2024-09-25 15:33:19 +08:00
Aakansha Doshi
3fe1883f3f
feat: prefer user defined coords and dimensions over calculated for for frame ( #8517 )
...
* feat: prefer user defined coords and dimensions over calculated for frame
* update changelog
* lint
* show the info only in dev mode and when children present
2024-09-24 21:09:15 +05:30
Marcel Mraz
a80cb5896a
feat: self-hosting existing google fonts ( #8540 )
2024-09-24 17:30:21 +02:00
David Luzar
6dfa18414a
test: decrease min coverage thresholds ( #8541 )
2024-09-24 12:01:28 +00:00
Ryan Di
064bede0c5
simplify crop properties
2024-09-24 15:59:09 +08:00
Ryan Di
997fec6c75
manipulate and update a crop
2024-09-21 14:09:47 +08:00
Ryan Di
71ed96eabb
render crop
2024-09-21 14:09:23 +08:00
Ryan Di
f4bebaaa50
add properties for crop
2024-09-21 14:07:09 +08:00
David Luzar
8ca4cf3260
feat: flip arrowheads if only arrow(s) selected ( #8525 )
...
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-19 15:46:36 +02:00
Márk Tolmács
f3f0ab7c83
fix: Elbow arrow fixedpoint flipping now properly flips on inverted resize and flip action ( #8324 )
...
* Flipping action now properly mirrors selections with elbow arrows
* Flipping action now re-centers the selection to the original center to avoid "walking" selections on repeated flipping
2024-09-19 08:47:23 +02:00
David Luzar
44a1c8d857
fix: svg and png frame clipping cases ( #8515 )
2024-09-18 00:20:22 +02:00
Márk Tolmács
e0a22edfbd
fix: Re-route elbow arrows when pasted ( #8448 )
...
Re-route elbow arrows when pasted
2024-09-17 12:20:40 +02:00
Márk Tolmács
c07f5a0c80
feat: Common elbow mid segments ( #8440 )
...
Common start or end segment length for elbow arrows regardless of arrowhead is present
2024-09-17 10:11:07 +02:00
David Luzar
508f16dc04
refactor: rename example App.tsx
-> ExampleApp.tsx
( #8501 )
2024-09-13 16:56:32 +02:00
zsviczian
c1b310c56b
fix: Buffer dependency ( #8474 )
...
* fix Buffer dependency
* moved to encode.ts
* move base64 parsing out
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-12 15:48:47 +02:00
zsviczian
d4900e8f19
fix: Linear element complete button disabled ( #8492 )
2024-09-12 14:59:38 +02:00
zsviczian
caf2db934c
fix: aspect ratio of distorted images are not preserved in SVG exports ( #8061 )
2024-09-12 14:11:08 +02:00
zsviczian
60e3801691
fix: WYSIWYG editor padding is not normalized with zoom.value ( #8481 )
2024-09-12 13:42:39 +02:00
David Luzar
80f3b75d42
chore: revert vite 5.4.2 -> 5.0.12 ( #8499 )
2024-09-12 12:56:45 +02:00
hocino
dc812bee19
docs: replace dead link ( #8494 )
...
* docs update dead link on main-menu page
* doc: fix dead link
2024-09-12 13:20:18 +05:30