Don't exceed the screen width with camera window

This commit is contained in:
Michael Neuendorf 2020-03-24 20:16:30 +01:00 committed by Michael Neuendorf
parent 4e459956bf
commit 56f31fd34e

View File

@ -181,7 +181,7 @@ $(document).on("click", "#barcodescanner-start-button", function(e)
callback: function() callback: function()
{ {
Grocy.Components.BarcodeScanner.TorchState = !Grocy.Components.BarcodeScanner.TorchState; Grocy.Components.BarcodeScanner.TorchState = !Grocy.Components.BarcodeScanner.TorchState;
Quagga.CameraAccess.getActiveTrack().applyConstraints({ Quagga.CameraAccess.getActiveTrack().applyConstraints({
advanced: [ advanced: [
{ {