From e41842a31dbad2e1c8e6e83280562b6d2966cc5f Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 20 Nov 2025 07:51:19 +1100 Subject: [PATCH] Barcode tweaks (#726) * Barcode tweaks - Disable autozoom - Update release notes - Update contributor credits * format --- assets/credits.md | 1 + assets/release_notes.md | 1 + lib/barcode/camera_controller.dart | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/credits.md b/assets/credits.md index abf8611d..31eb4f0d 100644 --- a/assets/credits.md +++ b/assets/credits.md @@ -10,6 +10,7 @@ Thanks to the following contributors, for their work building this app! - [Bobbe](https://github.com/30350n) - [awnz](https://github.com/awnz) - [joaomnuno](https://github.com/joaomnuno) +- [Alex9779](https://github.com/Alex9779) -------- ## Assets diff --git a/assets/release_notes.md b/assets/release_notes.md index 413d34ae..21b0d09a 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -1,6 +1,7 @@ ### 0.21.0 - November 2025 --- +- Adds zoom controller for barcode scanner camera view - Display default stock location in Part detail page - Display stock information in SupplierPart detail page diff --git a/lib/barcode/camera_controller.dart b/lib/barcode/camera_controller.dart index 0cfe9cbd..2baaca0a 100644 --- a/lib/barcode/camera_controller.dart +++ b/lib/barcode/camera_controller.dart @@ -44,7 +44,7 @@ class _CameraBarcodeControllerState extends InvenTreeBarcodeControllerState { double zoomFactor = 0.0; final MobileScannerController controller = MobileScannerController( - autoZoom: true, + autoZoom: false, // Disable autoZoom as we implement a manual slider ); @override