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(