mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 21:06:15 +02:00
Allow toggling torch
This commit is contained in:
parent
1dcee60358
commit
4e459956bf
|
|
@ -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