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

canvas capture bug - scenejs/api/latest/plugins/lib/canvas2image.js #489

Open
2 of 12 tasks
st3fano opened this issue May 24, 2016 · 0 comments
Open
2 of 12 tasks

canvas capture bug - scenejs/api/latest/plugins/lib/canvas2image.js #489

st3fano opened this issue May 24, 2016 · 0 comments

Comments

@st3fano
Copy link

st3fano commented May 24, 2016

Description of the problem

I know it is a bug in a plugin but anyway FYI I post here:
scenejs/api/latest/plugins/lib/canvas2image.js
line 141
It is:
oSaveCtx.drawImage(oCanvas, 0, 0, oCanvas.width, oCanvas.height, 0, 0, iWidth, iWidth);

Should be:
oSaveCtx.drawImage(oCanvas, 0, 0, oCanvas.width, oCanvas.height, 0, 0, iWidth, iHeight);
...
Thank for your great job!

Stefano

SceneJS version
  • Dev
  • Master
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant