Mark Tolmacs
411deae176
Update tests
2024-09-30 16:51:37 +02:00
Mark Tolmacs
1d293b9203
Small diamond distance fix
2024-09-30 16:51:31 +02:00
Mark Tolmacs
6e67aa3a3c
More intersection detection functions
2024-09-30 15:31:02 +02:00
Mark Tolmacs
b7f504796b
Line and segment intersection
2024-09-30 14:00:52 +02:00
Mark Tolmacs
f347281c21
Merge branch 'master' into feat/math2
2024-09-30 12:03:42 +02:00
Mark Tolmacs
c41486abd1
Fix diamond distance
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-28 09:09:14 +02: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
Mark Tolmacs
34ec751501
Attempt at optimizing focus point calc
2024-09-27 20:27:10 +02:00
Mark Tolmacs
5cbd6e63a0
Merge branch 'master' into feat/math2
2024-09-27 16:16:06 +02:00
Mark Tolmacs
669771aba7
Remove unused point function
2024-09-27 16:01:48 +02:00
Mark Tolmacs
91b6057d9c
Bounds refactor and duplication removal
2024-09-27 15:58:18 +02:00
Mark Tolmacs
7b4e989d65
Add ellipse changes no angle
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-27 11:34:02 +02:00
Mark Tolmacs
d9ea7190ec
First implementation of element distance functions with failing tests
2024-09-25 18:30:53 +02:00
Mark Tolmacs
47cc842415
Rectangle distance and tests
2024-09-25 15:04:46 +02:00
Mark Tolmacs
9a8aabbeca
Update snapshot and comment
2024-09-25 14:35:21 +02:00
Mark Tolmacs
3fe73e79a6
Arc tests
2024-09-25 14:22:41 +02:00
Mark Tolmacs
f79fb899fc
Unify actionFlip test
2024-09-25 12:41:45 +02:00
Mark Tolmacs
b697f63cad
More refactor
2024-09-25 11:59:27 +02:00
Mark Tolmacs
392dd5b0b8
ellipse and arc refactors
2024-09-25 11:03:35 +02:00
Mark Tolmacs
3efa8735ef
Ellipse refactor
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-24 19:12:27 +02:00
Mark Tolmacs
017047d15e
Unify on GenericPoint type
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-24 18:38:29 +02:00
Mark Tolmacs
0c47bd0004
Unify bounds calculation
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-24 18:25:31 +02: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
Mark Tolmacs
c0915c6b98
Fix lint errors
2024-09-23 20:02:18 +02:00
Mark Tolmacs
dff60e6f6f
Refactoring bounds, arrows, bboxes
2024-09-23 19:43:22 +02:00
Mark Tolmacs
9eb08df3ea
Move path related function into the math package
2024-09-23 18:08:17 +02:00
Mark Tolmacs
1b56cf90fb
Move binaryheap implementation to utils
2024-09-23 17:21:54 +02:00
Mark Tolmacs
0e2f8c958e
Further math refactor and simplifications
2024-09-23 17:13:40 +02:00
Mark Tolmacs
41885b4bb3
Fix missing point
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-20 21:33:08 +02:00
Mark Tolmacs
b4cb314090
Refactoring points
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-09-20 21:32:32 +02: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
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
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
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