From 3bb9171b3db0ab0e456cafdc19792f0a52b643a9 Mon Sep 17 00:00:00 2001 From: basti4557 <96229720+basti4557@users.noreply.github.com> Date: Thu, 5 Jan 2023 12:43:21 +0100 Subject: [PATCH 1/2] Update image-data.js --- src/misc/image-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From 1f4460837c0fcb622f2ec2d485cde2b1a26f0e07 Mon Sep 17 00:00:00 2001 From: basti4557 <96229720+basti4557@users.noreply.github.com> Date: Thu, 5 Jan 2023 13:03:46 +0100 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"