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

Scale flag (for disabling fit-to-screen) does not apply to animated SVG exports #2068

Closed
atyner opened this issue Aug 25, 2024 · 1 comment · Fixed by #2071
Closed

Scale flag (for disabling fit-to-screen) does not apply to animated SVG exports #2068

atyner opened this issue Aug 25, 2024 · 1 comment · Fixed by #2071

Comments

@atyner
Copy link

atyner commented Aug 25, 2024

When I run this

d2 file.d2 out.svg --scale 1 --animate-interval 1200

the resulting animated SVG does not respect the special 1 value for scale. The SVG always expands to fill the browser window.

However, for a normal SVG export (without --animate-interval), even one with multiple boards, the resulting SVG file(s) do respect the 1 scale value and use a fixed size.

@alixander
Copy link
Collaborator

thank you for reporting @atyner, will be fixed in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants