svgedit icon indicating copy to clipboard operation
svgedit copied to clipboard

Ungrouping problem

Open AzamatIshmuratov opened this issue 3 years ago • 3 comments

I have a piece of code from one svg file: test2.txt

Uploading the file: image

Breaks when ungrouped: image

I'm guessing it has to do with the transform attribute of the group ()

AzamatIshmuratov avatar May 26 '21 05:05 AzamatIshmuratov

Yes, it is indeed linked to this. The mouseMove Event is actually creating a transform but does not check if one was already defined. I think I know how to fix this.

jfhenon avatar May 27 '21 12:05 jfhenon

it actually a little trickier than expected but we need to address this for V7.0

jfhenon avatar May 30 '21 22:05 jfhenon

Issue probably lies right here: image After changing it to only "fix" the rotation on "transform" attributes, the initial select works fine. Unfortunately trying to rotate it after that leads to it jumping again: IE8fdCXvHR

The second behavior is caused by the following removal of the transform list. image

(still trying to understand all of it)

vitali-eppinger avatar May 31 '21 20:05 vitali-eppinger