Mark Tolmacs
a177d33121
Add diamond arc alignment
2024-10-03 14:09:59 +02:00
Mark Tolmacs
2ec3374333
Add visual debug support for arc
2024-10-03 14:09:44 +02:00
Mark Tolmacs
85611b8754
Fix distance filtering
2024-10-03 11:38:42 +02:00
Mark Tolmacs
c53c37ba69
Fix arc line intersection, add tests to element line intersections
2024-10-02 22:17:28 +02:00
Mark Tolmacs
a50ac0ebff
Fix typing issue
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-10-02 12:18:34 +02:00
Mark Tolmacs
336fa9d002
Master merge
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-10-02 12:09:01 +02:00
David Luzar
b4d8b04d9e
refactor: point()
-> pointFrom()
to fix compiler issue ( #8578 )
2024-10-02 11:49:10 +02:00
David Luzar
47ee8a0094
refactor: point()
-> pointFrom()
to fix compiler issue ( #8578 )
2024-10-01 21:27:17 +02:00
Mark Tolmacs
0c02972695
Replace intersection code
2024-10-01 16:24:31 +02:00
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