Commit Graph

3765 Commits

Author SHA1 Message Date
59635e3160 Update snapshot 2025-06-18 12:50:35 +02:00
ddf672175f Remove unneeded import 2025-06-18 12:48:50 +02:00
a5a74be45d Refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-09 14:20:21 +02:00
3f9c6299a0 Fix the grid and angle lock
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-09 12:15:04 +02:00
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
c2b78346c1 Fix snapshot 2025-04-07 13:10:10 +02:00
44df764a88 [skip ci] Remove temporary size hacks 2025-04-07 13:09:06 +02:00
cc01e16e52 Attempt at moving the initial point when inside shape
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:09:06 +02:00
6b9fa5bcc5 Do not snap linear elements
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:09:06 +02:00
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
c3924a8f8c Fix tests for stats
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:36 +02:00
eecabccf8d Stats unbonds arrows when used 2025-04-07 13:08:36 +02:00
ccda36a0e3 [skip ci] Remove debug
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:36 +02:00
37653484a1 Rotated arrow drag fixes
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:36 +02:00
b2e19055bf [skip ci] Refactor visual debug
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:36 +02:00
3d40221dc1 Restore input value and fix history
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:36 +02:00
5cc5c626df Position revert 2025-04-07 13:08:36 +02:00
9a599cfc05 Fix drag rotation
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:36 +02:00
88d4c4fe8d Stats: Angle setting now works properly and resets on unconnected bindings 2025-04-07 13:08:36 +02:00
4efa6f69e5 Inline binding logic fix 2025-04-07 13:08:36 +02:00
a79eb06939 [skip ci] Test updates 2025-04-07 13:08:36 +02:00
bcbd418154 [skip ci] Change flipping 2025-04-07 13:08:35 +02:00
db9e501d35 [skip ci] Stats binding behavior changes and test updates 2025-04-07 13:08:35 +02:00
ce10087edc [skip ci] Binding refactor 2025-04-07 13:08:35 +02:00
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
d6d4d00f60 Inside detection for outline binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:35 +02:00
4ea534a732 [skip ci] Tests for inner binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:08:35 +02:00
e90350b7d1 Fix tests 2025-04-07 13:08:35 +02:00
ea5ad1412c [skip ci] No jumping at the beginning 2025-04-07 13:08:09 +02:00
c8ade51b53 [skip ci] Remove unneeded code segments 2025-04-07 13:08:09 +02:00
6e520fdbb9 Restore collision optimization 2025-04-07 13:08:09 +02:00
fdd7420e65 Type fixes 2025-04-07 13:08:09 +02:00
f4abdc751e [skip ci] Small updates to tests 2025-04-07 13:07:30 +02:00
946d3ddf87 Fine-tuning diamon intersections 2025-04-07 13:07:30 +02:00
fbde68c849 [skip ci] First iteration of bringing over previous changes 2025-04-07 13:07:30 +02:00
4ee99de2fb Get three solutions for curve-line intersections to avoid issue with high inclination intersectors 2025-04-07 13:07:30 +02:00
4d1e2c2bbb Revert to master 2025-04-07 13:07:30 +02:00
1a87aa8e55 Start grid point arrow align 2025-04-07 13:07:30 +02:00
528e6aa2df Fix tests
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-04-07 13:07:30 +02:00
8c9666b8ab Multipoint arrows now have single point commit in binding zones 2025-04-07 13:07:30 +02:00
8ac508af11 Fix missing parameter 2025-04-07 13:07:30 +02:00
cbe6705c98 10% inside shape still tracks outline 2025-04-07 13:07:30 +02:00
1819661828 Tune what's considered a duplicate intersection point 2025-04-07 13:07:30 +02:00
373b940e75 New simple arrows stick to outline as well 2025-04-07 13:07:30 +02:00
2f02d72741 Refactors 2025-04-07 13:07:30 +02:00
a54322a34f Fix unbind by move test 2025-04-07 13:07:30 +02:00
5c1fc2f4fb FIx tests 2025-04-07 13:07:30 +02:00
63d53fc242 Fix freshly created elbow arrow and bindable interaction 2025-04-07 13:07:29 +02:00
e1812c4c91 Need all intersection points for curved corners 2025-04-07 13:07:29 +02:00
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