mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 21:06:15 +02:00
Don't exceed the screen width with camera window
This commit is contained in:
parent
4e459956bf
commit
56f31fd34e
|
|
@ -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: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user