diff --git a/package.json b/package.json index a9dafd1..76d251e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/HJ29/vue3-qr-reader.git" + "url": "https://github.com/basti4557/vue3-qr-reader.git" }, "files": [ "dist/*.js" diff --git a/src/misc/image-data.js b/src/misc/image-data.js index 954c6f3..ecab81a 100644 --- a/src/misc/image-data.js +++ b/src/misc/image-data.js @@ -2,7 +2,7 @@ import { DropImageFetchError, DropImageDecodeError } from "./errors.js"; import { asyncListenEvent } from "./util.js"; const canvas = document.createElement("canvas"); -const canvasCtx = canvas.getContext("2d"); +const canvasCtx = canvas.getContext("2d", { willReadFrequently: true }); canvas.width = 1920; canvas.height = 1080;