Mark Tolmacs
3068787ac4
Move linear element handling out of App.tsx
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-08 13:44:54 +02:00
Mark Tolmacs
6b9fa5bcc5
Do not snap linear elements
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:09:06 +02:00
Mark Tolmacs
06b3750a2f
Fix microjump on drag binding, no keyboard move if bound arrow
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:09:06 +02:00
Mark Tolmacs
eecabccf8d
Stats unbonds arrows when used
2025-04-07 13:08:36 +02:00
Mark Tolmacs
4efa6f69e5
Inline binding logic fix
2025-04-07 13:08:36 +02:00
Mark Tolmacs
db9e501d35
[skip ci] Stats binding behavior changes and test updates
2025-04-07 13:08:35 +02:00
Mark Tolmacs
ce10087edc
[skip ci] Binding refactor
2025-04-07 13:08:35 +02:00
Mark Tolmacs
d6d4d00f60
Inside detection for outline binding
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:35 +02:00
Mark Tolmacs
c8ade51b53
[skip ci] Remove unneeded code segments
2025-04-07 13:08:09 +02:00
Mark Tolmacs
fdd7420e65
Type fixes
2025-04-07 13:08:09 +02:00
Mark Tolmacs
fbde68c849
[skip ci] First iteration of bringing over previous changes
2025-04-07 13:07:30 +02:00
Mark Tolmacs
4d1e2c2bbb
Revert to master
2025-04-07 13:07:30 +02:00
Mark Tolmacs
cbe6705c98
10% inside shape still tracks outline
2025-04-07 13:07:30 +02:00
Mark Tolmacs
e459ea0cc7
Apply outline tracking to simple arrows as well
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:07:29 +02:00
Mark Tolmacs
f354285d69
Linear element compatible snap binding
2025-04-07 13:07:29 +02:00
Mark Tolmacs
03b91deb4a
Adjusted elbow in-shape binding strategy
2025-04-07 13:07:29 +02:00
Mark Tolmacs
dca9fbe306
Fixed gap binding
2025-04-07 13:07:29 +02:00
Mark Tolmacs
f363fcabd8
Common center point util
2025-04-07 13:07:29 +02:00
David Luzar
c2caf78e95
fix: deselected hit element being duplicated + incorrect re-seeding ( #9333 )
...
* fix: deselected hit element being duplicated + incorrect re-seeding
* snapshots
* Fix alt-drag binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
* Add alt-drag bound arrow test
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
---------
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 10:41:31 +02:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
2025-03-26 15:24:59 +01:00