Lint and so on
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
const x = -state.viewport.x / state.viewport.zoom + 400;
|
||||
const y = -state.viewport.y / state.viewport.zoom + 300;
|
||||
|
||||
const img = new Image();
|
||||
const img = document.createElement('img');
|
||||
img.onload = () => {
|
||||
state.addAsset(assetId, { blob: file, url, filename: file.name });
|
||||
state.addItem({
|
||||
|
||||
Reference in New Issue
Block a user