Skip to content

Commit 623c034

Browse files
Merge PR mebjas#805 from upstream
2 parents 2e5f079 + 8e2fd82 commit 623c034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/html5-qrcode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ export class Html5Qrcode {
12081208
/* dy= */ 0,
12091209
/* dWidth= */ this.qrRegion.width,
12101210
/* dHeight= */ this.qrRegion.height);
1211-
1211+
this.context!.filter = 'invert(100%)'; // <-- Thx to [thk-root](https://github.com/thk-root)
12121212
const triggerNextScan = () => {
12131213
this.foreverScanTimeout = setTimeout(() => {
12141214
this.foreverScan(

0 commit comments

Comments
 (0)