Skip to content

Icons moving once config added #57

Answered by pkozul
instakill-sec asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @instakill-sec

I tried your SVG, and got it working.

I simply moved the ID from the parent 'layer' (i.e. <g> element) down to the child 'layer' (i.e. <image> element).

Before:

After:

You can make that change in a text editor rather than loading it into Inkscape.

I think the issue is due to the parent layer having a transform applied to it, which seems to get in the way. So by moving the ID down to the <image>, floorplan swaps out the images without worrying about the transform which is being performed at the parent <g> element.

Let us know how you go.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@instakill-sec
Comment options

@pkozul
Comment options

pkozul Feb 28, 2021
Collaborator

Answer selected by exetico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants