Commit Graph

3609 Commits (2ec337433378f6c161f01e59b4e8fc4a294d220a)
 

Author SHA1 Message Date
Mark Tolmacs 2ec3374333
Add visual debug support for arc 4 months ago
Mark Tolmacs 85611b8754
Fix distance filtering 4 months ago
Mark Tolmacs 648728e4b8
Merge branch 'master' into feat/math2 4 months ago
Mark Tolmacs c53c37ba69
Fix arc line intersection, add tests to element line intersections 4 months ago
Mark Tolmacs a50ac0ebff
Fix typing issue
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs 336fa9d002
Master merge
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
David Luzar b4d8b04d9e
refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 4 months ago
David Luzar 47ee8a0094
refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 4 months ago
Mark Tolmacs 0c02972695
Replace intersection code 4 months ago
Mark Tolmacs 411deae176
Update tests 4 months ago
Mark Tolmacs 1d293b9203
Small diamond distance fix 4 months ago
Mark Tolmacs 6e67aa3a3c
More intersection detection functions 4 months ago
Mark Tolmacs b7f504796b
Line and segment intersection 4 months ago
Mark Tolmacs f347281c21
Merge branch 'master' into feat/math2 4 months ago
Mark Tolmacs c41486abd1
Fix diamond distance
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
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>
4 months ago
Mark Tolmacs 34ec751501
Attempt at optimizing focus point calc 4 months ago
Mark Tolmacs 5cbd6e63a0
Merge branch 'master' into feat/math2 4 months ago
Mark Tolmacs 669771aba7
Remove unused point function 4 months ago
Mark Tolmacs 91b6057d9c
Bounds refactor and duplication removal 4 months ago
Mark Tolmacs 7b4e989d65
Add ellipse changes no angle
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs d9ea7190ec
First implementation of element distance functions with failing tests 4 months ago
Mark Tolmacs 47cc842415
Rectangle distance and tests 4 months ago
Mark Tolmacs 9a8aabbeca
Update snapshot and comment 4 months ago
Mark Tolmacs 3fe73e79a6
Arc tests 4 months ago
Mark Tolmacs f79fb899fc
Unify actionFlip test 4 months ago
Mark Tolmacs b697f63cad
More refactor 4 months ago
Mark Tolmacs 392dd5b0b8
ellipse and arc refactors 4 months ago
Mark Tolmacs 3efa8735ef
Ellipse refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs 017047d15e
Unify on GenericPoint type
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs 0c47bd0004
Unify bounds calculation
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
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
4 months ago
Marcel Mraz a80cb5896a
feat: self-hosting existing google fonts (#8540) 4 months ago
David Luzar 6dfa18414a
test: decrease min coverage thresholds (#8541) 4 months ago
Mark Tolmacs c0915c6b98
Fix lint errors 4 months ago
Mark Tolmacs dff60e6f6f
Refactoring bounds, arrows, bboxes 4 months ago
Mark Tolmacs 9eb08df3ea
Move path related function into the math package 4 months ago
Mark Tolmacs 1b56cf90fb
Move binaryheap implementation to utils 4 months ago
Mark Tolmacs 0e2f8c958e
Further math refactor and simplifications 4 months ago
Mark Tolmacs 41885b4bb3
Fix missing point
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
Mark Tolmacs b4cb314090
Refactoring points
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
David Luzar 8ca4cf3260
feat: flip arrowheads if only arrow(s) selected (#8525)
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
4 months ago
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
4 months ago
David Luzar 44a1c8d857
fix: svg and png frame clipping cases (#8515) 5 months ago
Márk Tolmács e0a22edfbd
fix: Re-route elbow arrows when pasted (#8448)
Re-route elbow arrows when pasted
5 months ago
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
5 months ago
David Luzar 508f16dc04
refactor: rename example `App.tsx` -> `ExampleApp.tsx` (#8501) 5 months ago
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>
5 months ago
zsviczian d4900e8f19
fix: Linear element complete button disabled (#8492) 5 months ago
zsviczian caf2db934c
fix: aspect ratio of distorted images are not preserved in SVG exports (#8061) 5 months ago