Mark Tolmacs
db9e501d35
[skip ci] Stats binding behavior changes and test updates
2025-04-07 13:08:35 +02:00
Mark Tolmacs
76a782bd52
[skip ci] No binding for properties panel movement and angle
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:35 +02:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
2025-03-26 15:24:59 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
2025-03-12 15:23:31 +01:00
Marcel Mraz
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
2025-02-28 16:49:09 +01:00
Ryan Di
107eae3916
refactor: separate resizing logic from pointer ( #8155 )
...
* separate resizing logic for a single element
* replace resize logic in stats
* do not recompute width and height from points when they're already given
* correctly update linear elements' position when resized
* update snapshots
* lint
* simplify linear resizing logic
* fix initial scale for aspect ratio
* update tests for linear elements
* test typo
* separate pointer from resizing for multiple elements
* lint and simplify
* fix tests
* lint
* provide scene in param instead
* type
* refactor code
* fix floating in tests
* remove restrictions/checks on width & height
* update pointer to dimension to prevent regression
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-12-23 11:10:35 +01:00
Ryan Di
1e3399eac8
fix: make arrow binding area adapt to zoom levels ( #8927 )
...
* make binding area adapt to zoom
* revert stroke color
* normalize binding gap
* reduce normalized gap
2024-12-22 22:55:50 +01:00
Márk Tolmács
2db5bbcb29
fix: Unify binding update options for updateBoundElements()
( #8832 )
...
Fix insonsistent naming for option newSize/oldSize for updateBoundElements()
2024-11-20 11:46:45 +01:00
David Luzar
47ee8a0094
refactor: point()
-> pointFrom()
to fix compiler issue ( #8578 )
2024-10-01 21:27:17 +02:00
Márk Tolmács
f4dd23fc31
chore: Unify math types, utils and functions ( #8389 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-02 22:23:38 +00:00
David Luzar
3cfcc7b489
feat: split gridSize
from enabled state & support custom gridStep
( #8364 )
2024-08-14 14:59:14 +02:00
Márk Tolmács
dd1370381d
chore: Refactor and remove scene from elbow arrow generation ( #8342 )
...
* Refactor and remove scene from elbow arrow generation
2024-08-08 14:06:26 +02:00
Márk Tolmács
15e019706d
feat: Orthogonal (elbow) arrows for diagramming ( #8299 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-08-01 18:39:03 +02:00
Márk Tolmács
66a2f24296
fix: Add binding update to manual stat changes ( #8183 )
...
Manual stats changes now respect previous element bindings.
2024-07-01 09:45:31 +02:00
David Luzar
744b3e5d09
fix: stats state leaking & race conds ( #8177 )
2024-06-26 23:31:08 +02:00
Ryan Di
d2f67e619f
feat: editable element stats ( #6382 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-06-12 19:49:46 +02:00