image-occlusion-enhanced
image-occlusion-enhanced copied to clipboard
Path tool no longer working
Steps to reproduce:
- Select the path tool
- Try to draw a path by clicking multiple times
Expected behavior (present under Anki 2.0):
- draws path between points
Observed behavior (present under Anki 2.1):
- only draws first path
- error console message:
JS error on line 3421: Uncaught TypeError: Cannot read property 'parentNode' of null
Depending on how difficult this is to fix we might have to investigate dropping the path tool altogether for the time being (although this would be far from ideal since this is a tool that's used comparatively often).
Seems like this is working fine in more recent versions of SVG-Edit. Though with SVG-Edit 3.0.0 on the roadmap it might be worth waiting a bit before updating the revision we ship with.
Seems like this is working fine in more recent versions of SVG-Edit. Though with SVG-Edit 3.0.0 on the roadmap it might be worth waiting a bit before updating the revision we ship with.
New version of svg-edit is here SVG Edit 5.0.0. Is it complicated to migrate ?
Upgrading is not the issue in of itself. It's porting all customizations to SVG-Edit and its extensions over the years that will take a lot of effort. SVG-Edit has undergone major refactoring, so it's not as simple as applying a few quick patches, sadly.
Hey I'm kinda new to the whole open source thing. I think this tool is really useful (path line). Was wondering if you'd have any pointers on where to start?
Here are 2 workarounds for users:
- use a very thin rectangle instead
- or edit the underlying source image directly