1
0
Fork 0
freesewing/packages/react/components/Xray
Jonathan Haas 83ff6b3b47 [react] fix: Improve the inspect view (#323)
Improve visuals of the Xray path component

- Return null for hidden paths in the Path component. This fixes #266 and restores v3 behavior here. (An optional toggle to show hidden paths might be useful in the future.)
- Reverse animation direction in stroke-dashoffset. This ensures that the path animates in the internal direction, which is less confusing since you can hover over a path to check that it is counter-clockwise.

Also remove a duplicate array key.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/323
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
Co-committed-by: Jonathan Haas <haasjona@gmail.com>
2025-05-03 09:26:41 +00:00
..
index.mjs [react] fix: the inspect view popup when clicking on a path or point, fix missing translations in the xray path and point components (#256) 2025-04-18 06:22:16 +00:00
path.mjs [react] fix: Improve the inspect view (#323) 2025-05-03 09:26:41 +00:00
point.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00