scenejs icon indicating copy to clipboard operation
scenejs copied to clipboard

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

Open st3fano opened this issue 9 years ago • 0 comments

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
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [x] All of them
  • [ ] Windows
  • [ ] Linux
  • [ ] Android
  • [ ] IOS
Hardware Requirements

st3fano avatar May 24 '16 13:05 st3fano