Skip to content
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

matrix created twice in stag$use transform #10

Closed
yonicd opened this issue Apr 29, 2020 · 2 comments
Closed

matrix created twice in stag$use transform #10

yonicd opened this issue Apr 29, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@yonicd
Copy link

yonicd commented Apr 29, 2020

what is the right way to use this?

minisvg::stag$use(transform="matrix(0.07407407407407408,0,0,0.07407407407407408,0,0)" , href="#h")
# <use href="#h" transform="matrix(0.07407407407407408,0,0,0.07407407407407408,0,0) matrix(0.07407407407407408,0,0,0.07407407407407408,0,0)" />
@coolbutuseless coolbutuseless added the bug Something isn't working label May 2, 2020
@coolbutuseless coolbutuseless self-assigned this May 2, 2020
@coolbutuseless
Copy link
Owner

coolbutuseless commented May 2, 2020

Looks like a bug in my "special" handling for transform attributes.

> stag$rect(transform = 3, a = 3)
<rect a="3" transform="3 3" />

@coolbutuseless
Copy link
Owner

Fix applied

> stag$rect(transform = 3, a = 3)
<rect a="3" transform="3" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants