Skip to content

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

@st3fano

Description

@st3fano
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions