Update CodeScanner.svelte
Updated the code as suggested. Thanks!
This commit is contained in:
parent
a37ceb6279
commit
34a752dd41
|
@ -21,7 +21,7 @@
|
|||
let cameraEnabled
|
||||
let cameraStarted = false
|
||||
let html5QrCode
|
||||
let cameraSetting = { facingMode: {preferredCamera} }
|
||||
let cameraSetting = { facingMode: preferredCamera }
|
||||
let cameraConfig = {
|
||||
fps: 25,
|
||||
qrbox: { width: 250, height: 250 },
|
||||
|
|
Loading…
Reference in New Issue