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
David Luzar
01e83cc9a5
fix: default sidebar triggers & behavior ( #8498 )
2024-09-11 20:19:14 +02:00
David Luzar
813f9b702e
feat: merge search sidebar back to default sidebar ( #8497 )
2024-09-11 19:26:01 +02:00
David Luzar
fd39712ba6
fix: improve canvas search scroll behavior further ( #8491 )
2024-09-11 18:01:18 +02:00
zsviczian
b46ca0192b
fix: addFiles clears the whole image cache when each file is added - regression from #8471 ( #8490 )
...
Update App.tsx
2024-09-11 07:57:41 +02:00
David Luzar
72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch ( #8488 )
2024-09-10 21:26:01 +02:00
David Luzar
d107215564
fix: select
instead of focus
search input ( #8483 )
2024-09-09 19:57:22 +02:00
Ryan Di
6959a363f0
feat: canvas search ( #8438 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-09 17:12:07 +02:00
Ryan Di
3d92a3bf1f
double click to start cropping
2024-09-09 18:34:13 +08:00
Abhishek Mehandiratta
5a11c70714
fix: image rendering issue when passed in initialData
( #8471 )
2024-09-08 23:56:00 +02:00
Aakansha Doshi
6ff56c36e3
fix: add partial mocking ( #8473 )
...
* fix: add partial mocking
* lint
* Update packages/utils/export.test.ts
2024-09-06 16:41:37 +05:30
Aakansha Doshi
51ea184938
build: upgrade vite to 5.4.x, vitest to 2.x and related vite packages ( #8459 )
...
* build: upgrade vite to 5.x, vitest to 2.x and related vite packages
* upgrade vitest-ui and coverage
* pass empty set to fix type error and update snap
* set ignoreEmptyLines to false
* update threshold
* update coverage threshold
* downgrade vite-plugin-pwa as its better to push separately with testing
* add package resolutions for strip-ansi, string-width and wrap-ansi
* disable pwa
* only add resolution for strip-ansi
2024-09-05 18:35:36 +05:30