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:
@@ -30,7 +30,6 @@ export default {
|
||||
|
||||
async copyImage (source) {
|
||||
if (source instanceof HTMLCanvasElement) {
|
||||
console.log('canvas')
|
||||
return _copyCanvas(source)
|
||||
} else {
|
||||
return _copyFromDataUrl(source)
|
||||
|
||||
Reference in New Issue
Block a user