mirror of https://github.com/sveltejs/svelte
To calculate y coordinate of `imageData`, we should divide the index with `canvas.width` not with `canvas.height`. The current code works because the shape of canvas is square.pull/6698/head
parent
4d30ef34e3
commit
698b9325d6
Loading…
Reference in new issue