We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I click on the screenshot button from tool menu it shows.
sketchpad.js:4096 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state. at Sketchpad.renderOutputCanvas (http://127.0.0.1:5500/demos/libs/sketchpad.js:4096:23) at Sketchpad.screenshot (http://127.0.0.1:5500/demos/libs/sketchpad.js:4103:33) at HTMLDivElement. (http://127.0.0.1:5500/demos/js/advanced.js:181:17)
Here is the code of screenshot
//screenshot document .getElementById('tool-screenshot') .addEventListener('click', function () { sketchpad.screenshot( function (blob) { saveFile(blob, sketchpad.room.room_token + '.png', 'image/png'); }, 'image/png', 1 ); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I click on the screenshot button from tool menu it shows.
Here is the code of screenshot
The text was updated successfully, but these errors were encountered: