Commit graph

3728 commits

Author SHA1 Message Date
Mark Tolmacs
5af4500bbc Half done 2025-03-28 20:41:26 +01:00
Mark Tolmacs
ff57dd60d8 Fix tests 2025-03-28 18:26:10 +01:00
Mark Tolmacs
05d8ce55e4 [skip ci] No jumping at the beginning 2025-03-28 18:26:10 +01:00
Mark Tolmacs
4184103eb0 [skip ci] Remove unneeded code segments 2025-03-28 18:26:10 +01:00
Mark Tolmacs
22696dc8f2 Restore collision optimization 2025-03-28 18:26:10 +01:00
Mark Tolmacs
8d28b47989 Type fixes 2025-03-28 18:26:10 +01:00
Mark Tolmacs
1eecd9a56b [skip ci] Small updates to tests 2025-03-28 18:26:10 +01:00
Mark Tolmacs
55ba55fbbb Fine-tuning diamon intersections 2025-03-28 18:26:10 +01:00
Mark Tolmacs
b6dea75d57 [skip ci] First iteration of bringing over previous changes 2025-03-28 18:26:10 +01:00
Mark Tolmacs
979fff566c Get three solutions for curve-line intersections to avoid issue with high inclination intersectors 2025-03-28 18:26:10 +01:00
Mark Tolmacs
b33cc74183 Revert to master 2025-03-28 18:26:10 +01:00
Mark Tolmacs
5947af5b50 Start grid point arrow align 2025-03-28 18:26:10 +01:00
Mark Tolmacs
40f25180ea Fix tests
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-28 18:26:10 +01:00
Mark Tolmacs
11fe608f9a Multipoint arrows now have single point commit in binding zones 2025-03-28 18:26:10 +01:00
Mark Tolmacs
ad8220c529 Fix missing parameter 2025-03-28 18:26:10 +01:00
Mark Tolmacs
ae0fdf2d21 10% inside shape still tracks outline 2025-03-28 18:26:10 +01:00
Mark Tolmacs
2cf53200ac Tune what's considered a duplicate intersection point 2025-03-28 18:26:10 +01:00
Mark Tolmacs
df1f89efcd New simple arrows stick to outline as well 2025-03-28 18:26:10 +01:00
Mark Tolmacs
8e4fd83f5c Refactors 2025-03-28 18:26:10 +01:00
Mark Tolmacs
d3a41cb453 Fix unbind by move test 2025-03-28 18:26:10 +01:00
Mark Tolmacs
3fa818b0ce FIx tests 2025-03-28 18:26:10 +01:00
Mark Tolmacs
2af0336466 Fix freshly created elbow arrow and bindable interaction 2025-03-28 18:26:10 +01:00
Mark Tolmacs
fe58962bfd Need all intersection points for curved corners 2025-03-28 18:26:10 +01:00
Mark Tolmacs
154855916b Apply outline tracking to simple arrows as well
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-28 18:26:10 +01:00
Mark Tolmacs
8de0a037fd Linear element compatible snap binding 2025-03-28 18:26:10 +01:00
Mark Tolmacs
b2799d0a15 Adjusted elbow in-shape binding strategy 2025-03-28 18:26:10 +01:00
Mark Tolmacs
fbc5e4a03d Fixed gap binding 2025-03-28 18:26:10 +01:00
Mark Tolmacs
ca5e9c3ad9 Common center point util 2025-03-28 18:26:10 +01:00
Marcel Mraz
0cd5a259ae
fix: incorrect type imports (#9308)
All checks were successful
Tests / test (push) Successful in 4m39s
2025-03-27 12:00:12 +01:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package (#9285)
Some checks failed
Auto release excalidraw next / Auto-release-excalidraw-next (push) Failing after 2m36s
Build Docker image / build-docker (push) Failing after 6s
Cancel previous runs / cancel (push) Failing after 1s
Publish Docker / publish-docker (push) Failing after 31s
New Sentry production release / sentry (push) Failing after 2m3s
2025-03-26 15:24:59 +01:00
Márk Tolmács
a18f059188
fix: Reduce allocations in collision detection (#9299)
Reduce allocations
2025-03-26 15:10:43 +01:00
KODIFY
ab89d4c16f
feat: add keyboard shortcut to save file in text (#9295)
Co-authored-by: Aviral Sharma <aviralsharma954@gmail.com>
2025-03-25 22:18:55 +01:00
Mubaraq Wahab
6c3a434f2a
docs: Fix table rendering and broken links in Props page (#9293)
All checks were successful
Tests / test (push) Successful in 4m45s
* Fix table rendering and broken links

---------

Co-authored-by: Marcel Mraz <marcel@excalidraw.com>
2025-03-25 14:32:15 +01:00
Mursaleen Nisar
e1bb59fb8f
chore: Use isDevEnv() and isTestEnv() (#9264)
All checks were successful
Tests / test (push) Successful in 4m50s
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-24 19:44:00 +01:00
Márk Tolmács
77aca48c84
fix: Refactor and merge duplication and binding (#9246)
All checks were successful
Tests / test (push) Successful in 4m52s
2025-03-23 18:39:33 +01:00
WalterMitty
58990b41ae
fix: 'Rotate' spell error (#9288)
All checks were successful
Tests / test (push) Successful in 4m51s
2025-03-22 09:06:23 +00:00
David Luzar
99d8bff175
fix: elements offset incorrectly when action-duplicated during drag (#9275)
All checks were successful
Tests / test (push) Successful in 4m47s
* fix: elements offset incorrectly when action-duplicated during drag

* prevent duplicate action during drag altogether
2025-03-15 20:05:42 +01:00
Márk Tolmács
30983d801a
fix: Arrow conversion regression (#9241)
All checks were successful
Tests / test (push) Successful in 4m43s
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-15 12:31:25 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports (#9163)
All checks were successful
Tests / test (push) Successful in 4m38s
2025-03-12 15:23:31 +01:00
Marcel Mraz
82b9a6b464
docs: CHANGELOG typos 🙏 (#9250)
All checks were successful
Tests / test (push) Successful in 5m28s
2025-03-11 23:18:15 +01:00
Marcel Mraz
817d8c553c
docs: update CHANGELOG (#9243) 2025-03-11 13:44:10 +01:00
Marcel Mraz
69bc5bdaab
chore: post publish docs & examples changes (#9217) 2025-03-11 13:02:59 +01:00
Márk Tolmács
d587b8a3de
fix: Do not rebind undragged elbow arrow endpoint (#9191) 2025-03-10 16:25:33 +01:00
Márk Tolmács
4ec812bc18
fix: Bound elbow arrow on duplication does not route correctly (#9236) 2025-03-08 12:39:54 +01:00
Márk Tolmács
a9e2d2348b
chore: Logging and fixing extremely large scenes (#9225) 2025-03-05 23:06:01 +01:00
David Luzar
70c3e921bb
fix: package env vars (#9221) 2025-03-04 21:45:48 +01:00
David Luzar
d92384b77d
revert: vite@6 -> vite@5 (#9220) 2025-03-04 17:45:52 +00:00
Ritobroto Kalita
c5d3bb0b6a
fix: #8475 Arrow updated on both sides (#8593) 2025-03-04 17:24:39 +01:00
David Luzar
d21c6a1bc6
chore: bump vite@6.x (#9210) 2025-03-04 14:00:13 +01:00
David Luzar
d1112bbf4f
fix: docked sidebar width (#9213) 2025-03-02 18:24:20 +01:00