3815 Commits

Author SHA1 Message Date
Mark Tolmacs
bca6b3fbe1
Timed binding mode change for simple arrows 2025-06-25 22:12:11 +02:00
Mark Tolmacs
3ccb7e3239
Fix binding disabled use-case triggering arrow editor 2025-06-25 19:59:57 +02:00
Mark Tolmacs
fbff9a3463
Fixed point binding for simple arrows when the arrow doesn't point to the element 2025-06-25 18:44:29 +02:00
Mark Tolmacs
133cc2b354
Arrow dragging gets a little drag to avoid accidental unbinding 2025-06-24 20:55:05 +02:00
Mark Tolmacs
5cf79b078e
Fix all point multipoint arrow highlight and binding 2025-06-24 20:21:29 +02:00
Mark Tolmacs
4980631cb1
Fix linear editor bug when both midpoint and endpoint is moved 2025-06-24 18:26:17 +02:00
Mark Tolmacs
8c2de8c3c4
Add test for mobing mid points for simple arrows when bound on the same element on both ends 2025-06-24 17:52:00 +02:00
Mark Tolmacs
06dc04ea5d
Do not move mid point for simple arrows bound on both ends 2025-06-24 17:27:42 +02:00
Mark Tolmacs
c4a52a982a
Fix drag unbind when the bound element is in the selection 2025-06-24 15:34:23 +02:00
Mark Tolmacs
d13f6477b9
Fix binding test 2025-06-23 17:02:46 +02:00
Mark Tolmacs
3ae89aba47
Unbind arrow if bound and moved at shaft of arrow key 2025-06-23 17:01:12 +02:00
Mark Tolmacs
b8fac37115
Make elbow arrows respect grids 2025-06-23 15:20:24 +02:00
Mark Tolmacs
71cfd1d82d
Fix multi-point arrow grid off 2025-06-23 15:20:13 +02:00
Mark Tolmacs
087353e06a
No confirm threshold when inside biding range 2025-06-21 22:32:19 +02:00
Mark Tolmacs
fdc6ea6d2e
Updating tests 2025-06-21 22:16:35 +02:00
Mark Tolmacs
1e99d28a6e
Refactored simple arrow creation 2025-06-21 20:56:04 +02:00
Mark Tolmacs
b04814cca7
Fix crash for elbow arrws in mutateElement() 2025-06-21 17:47:15 +02:00
Mark Tolmacs
b696b7bf98
Type updates to support fixed binding for simple arrows 2025-06-20 22:22:57 +02:00
Mark Tolmacs
331790e9af
Existing arrows now jump out 2025-06-20 22:22:32 +02:00
Mark Tolmacs
0dd76db5f0
Do not apply the jumping logic to elbow arrows for new elements 2025-06-20 21:17:48 +02:00
Mark Tolmacs
77d691e397
Fix newly created jumping arrow when gets outside 2025-06-20 20:12:59 +02:00
Mark Tolmacs
6efe4c6f38
Unfinished simple arrow avoidance 2025-06-19 22:37:53 +02:00
Mark Tolmacs
898499777f
Remove unneeded params 2025-06-19 18:06:53 +02:00
Mark Tolmacs
5d16a81327
Fix binding 2025-06-19 18:06:53 +02:00
Mark Tolmacs
c3d40c3781
Tests added 2025-06-19 18:06:53 +02:00
Mark Tolmacs
bc70f06edd
Fixed point binding for simple arrows 2025-06-19 18:06:53 +02:00
Márk Tolmács
c141500400
chore: Relocate visualdebug so ESLint doesn't complain (#9668) 2025-06-18 14:45:51 +02:00
Márk Tolmács
8e27de2cdc
fix: Frame dimensions change by stats don't include new elements (#9568) 2025-06-16 14:07:03 +02:00
Márk Tolmács
0a19c93509
fix: Bindings at partially overlapping binding areas (#9536) 2025-06-16 12:30:59 +02:00
Márk Tolmács
958597dfaa
chore: Refactor doBoundsIntersect (#9657) 2025-06-16 12:30:42 +02:00
Marcel Mraz
058918f8e5
feat: capture images after they initialize (#9643)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-06-15 23:43:14 +02:00
Spawn
3f194918e6
feat: add mulitplatform Docker image support (#9594) 2025-06-15 20:11:37 +02:00
Ryan Di
93c92d13e9
feat: wrap texts from stats panel (#9552) 2025-06-14 13:05:24 +02:00
zsviczian
84e96e9393
fix: move doBoundsIntersect from element/src/bounds.ts to common/math/src/utils.ts (#9650)
move doBoundsIntersect to math/utils

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-06-14 11:01:30 +00:00
zsviczian
320af405e9
fix: move elementCenterPoint from common/src/utils.ts to element/src/bounds.ts (#9647)
move elementCenterPoint from utils to bounds.ts
2025-06-14 12:49:22 +02:00
Marcel Mraz
60512f13d5 Fix broken history when eleemnt in update scene are optional 2025-06-14 12:29:58 +02:00
Márk Tolmács
f0458cc216
fix: Mid-point for rounded linears are not precisely centered (#9544) 2025-06-12 21:08:37 +02:00
Márk Tolmács
9f3fdf5505
fix: Test hook usage in production code (#9645) 2025-06-12 10:39:50 +02:00
Márk Tolmács
f42e1ab64e
perf: Improve elbow arrow indirect binding logic (#9624) 2025-06-11 19:15:48 +02:00
Ashwin Temkar
18808481fd
fix: set cursor to auto when not hovering a point on linear element (#9642)
* fix: set cursor to auto when not hovering a point on linear element #9628

* Simplify hover test for cursor

* Add back comment

* Fix test for hit testing

---------

Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2025-06-11 16:52:02 +02:00
Marcel Mraz
a7b64f02b3
fix: remove image preview on image insertion (#9626)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-06-10 21:31:11 +02:00
Marcel Mraz
0d4abd1ddc
fix: add history capture for paste and drop of images and embeds (#9605) 2025-06-10 14:28:16 +02:00
Sachintha Lakmin
9e77373c81
fix: add generic font family fallbacks before Segoe UI Emoji to fix glyph rendering on windows (#9425) 2025-06-10 13:43:39 +02:00
Marcel Mraz
d108053351
feat: various delta improvements (#9571) 2025-06-09 09:55:35 +02:00
David Luzar
d4e85a9480
feat: use enter to edit line points & update hints (#9630)
feat: use enter to edit line points & update hints
2025-06-07 18:05:20 +02:00
David Luzar
08cd4c4f9a
test: improve getTextEditor test helper (#9629)
* test: improve getTextEditor test helper

* fix test
2025-06-07 17:45:37 +02:00
cheapster
469caadb87
fix: prevent double-click to edit/create text scenarios on line (#9597)
* fix : double click on line enables line editor

* fix : prevent double-click to edit/create text
when inside line editor

* refactor: use lineCheck instead of arrowCheck in
doubleClick handler to align with updated logic

* fix: replace negative arrowCheck with lineCheck in
dbl click handler and fix double-click bind text
test in linearElementEditor tests

* clean up test

* simplify check

* add tests

* prevent text editing on dblclick when inside arrow editor

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-06-07 17:08:35 +02:00
Márk Tolmács
ca1a4f25e7
feat: Precise hit testing (#9488) 2025-06-07 12:56:32 +02:00
Sujal Gupta
56c05b3099
fix: prevent search menu from opening when dialog is open (#9279) 2025-06-03 15:53:00 +02:00
Aarav Dayal
6c0ff7fc5c
docs: added the correct CSS import for nextjs dynamic first import integration example (#9584)
Added the correct CSS import for nextjs dynamic first import integration example

This is with reference to [this](https://github.com/excalidraw/excalidraw/issues/9562)
2025-05-29 22:03:20 +02:00