1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

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

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)