connect logs
This commit is contained in:
@@ -75,7 +75,6 @@
|
|||||||
let ctx = msg.getContext("2d");
|
let ctx = msg.getContext("2d");
|
||||||
let image = new Image();
|
let image = new Image();
|
||||||
image.src = URL.createObjectURL(e.data);
|
image.src = URL.createObjectURL(e.data);
|
||||||
console.log(image.width);
|
|
||||||
image.addEventListener("load", (e) => {
|
image.addEventListener("load", (e) => {
|
||||||
ctx.drawImage(image, 0, 0, 800, 600);
|
ctx.drawImage(image, 0, 0, 800, 600);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user