File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1235,12 +1235,12 @@ export class Html5Qrcode {
12351235 this . flippedScan = false ;
12361236 }
12371237 // previous scan failed, flipped scan failed, try to invert colors
1238- if ( this . context ! . filter === ' none' && this . flippedScan === false ) {
1239- this . context ! . filter = ' invert(1)' ;
1238+ if ( this . context ! . filter === " none" && this . flippedScan === false ) {
1239+ this . context ! . filter = " invert(1)" ;
12401240 } else {
12411241 // restore initial filter value
1242- if ( this . context ! . filter === ' invert(1)' && this . flippedScan === false ) {
1243- this . context ! . filter = ' none' ;
1242+ if ( this . context ! . filter === " invert(1)" && this . flippedScan === false ) {
1243+ this . context ! . filter = " none" ;
12441244 }
12451245 }
12461246 triggerNextScan ( ) ;
You can’t perform that action at this time.
0 commit comments