saveAsPng refactoring

This commit is contained in:
lana-k
2021-08-28 19:07:10 +02:00
parent bcd98fe1ad
commit e38f482933
2 changed files with 5 additions and 7 deletions
-1
View File
@@ -30,7 +30,6 @@ export default {
async copyImage (source) {
if (source instanceof HTMLCanvasElement) {
console.log('canvas')
return _copyCanvas(source)
} else {
return _copyFromDataUrl(source)