scenejs
scenejs copied to clipboard
canvas capture bug - scenejs/api/latest/plugins/lib/canvas2image.js
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