-
Notifications
You must be signed in to change notification settings - Fork 192
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 won't work on HTML? #393
Comments
Which version of scratchblocks are you using? |
v3.5.2, latest version. |
|
So... README.md is too new? |
It's not, the README is for the current state of the repo, which is not the current release. Essentially it's like a beta.
You can try building scratchblocks yourself and using that, maybe. |
I can upload a new version! I might wait until #389 is merged 👍 |
I see. Thank you. |
I found a temporary solution! let svgw = document.getElementsByTagName('svg').item(0).width.baseVal.value,
svgh = document.getElementsByTagName('svg').item(0).height.baseVal.value
document.getElementsByTagName('svg').item(0).width.baseVal.value = svgw / 1.5
document.getElementsByTagName('svg').item(0).height.baseVal.value = svgh / 1.5 |
I've just published 3.6.0! See #403. |
(I'm not good at English and JavaScript.)
I'm trying to use this on my website, but scale seems doesn't work.
out:
out still is:
It haven't changed, why?
How can I fix it?
The text was updated successfully, but these errors were encountered: