-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Body out of 2 svg parts not displayed correctly? #1127
Comments
Looks like you need to set up |
Thanks @liabru, but I have the decomp.js library referenced in my html file. Is there anything else to do? The svg files are displayed correctly when I render them separated (image 1).. Thank you in advance! |
I think what you should do is use a single |
Thanks @liabru, sounds logical!
I tried this but getting an error. Could you maybe give me some more details, sorry I'm beginner to matter.js.. Thank you in advance! |
Hey @liabru, still need a bit of help as I tried the last days but did not figure it out.. would you mind to give me some more details, please? |
I think it might be that since |
Thanks, but still not working.. :/ |
Hey @liabru, an alternative for me would be a sprite on a svg. But this ist not possible, right? |
I tried to create a body out of two svg parts. svgOne is the green one and svgTwo is the small red "H". But as soon as they are displayed as one body, the svgs are not looking correctly. Whats wrong here?
Appreciate any help, thanks in advance!
This is my code:
The text was updated successfully, but these errors were encountered: