svgedit
svgedit copied to clipboard
W3C example breaks on layer move
Hi! So while evaluating this project I found a issue on moving layers. Here is the example SVG I am using:
Expected behavior I would expect that the whole layer would be moved, not just a part of it.
SVG-Edit environment (IMPORTANT)
- File for SVG-Edit: https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/gallardo.svg
- Version: Latest Stable (v7) & Latest Master
- Protocol: File
Desktop (please complete the following information):
- OS: Windows 10
- Browser Firefox
- Version 109
Screenshots
Log
Uncaught TypeError: paint.transform is undefined
recalculateDimensions http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:3362
recalculateDimensions http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:3336
recalculateDimensions http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:3336
recalculateAllSelectedDimensions http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:2541
recalculateAllSelectedDimensions http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:2541
mouseUpEvent http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:2758
SvgCanvas http://localhost:8000/packages/svgcanvas/dist/svgcanvas.js:5532
init http://localhost:8000/src/editor/EditorStartup.js:118
async* http://localhost:8000/src/editor/index.html:36
I found some issues, could you try with the following link? https://deploy-preview-883--svgedit.netlify.app/editor
Definitely seems to have improved the situation, however the geometry on the wheels still breaks:
https://www.w3.org/TR/SVG/implnote.html#ArcConversionCenterToEndpoint Might be of some help, since I believe the wheels are arcs
Do you think you would be able to isolate the issue with a simpler SVG?
Here ya go!:
The fix is partial so issue is reopened