From 8e2fd82eddd23db8a4a6b62641330f1af6315adb Mon Sep 17 00:00:00 2001 From: farukfakcin Date: Wed, 19 Jul 2023 12:21:58 +0300 Subject: [PATCH] foreverScan --> invert(100%) --- src/html5-qrcode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html5-qrcode.ts b/src/html5-qrcode.ts index b3fcbda..272bcb9 100644 --- a/src/html5-qrcode.ts +++ b/src/html5-qrcode.ts @@ -1204,7 +1204,7 @@ export class Html5Qrcode { /* dy= */ 0, /* dWidth= */ this.qrRegion.width, /* dHeight= */ this.qrRegion.height); - + this.context!.filter = 'invert(100%)'; // <-- Thx to [thk-root](https://github.com/thk-root) const triggerNextScan = () => { this.foreverScanTimeout = setTimeout(() => { this.foreverScan(