From 7bf7787c6fd8a88b01140522c511cb46f4ee18b6 Mon Sep 17 00:00:00 2001 From: wartana Date: Thu, 22 Jan 2026 19:31:39 +0800 Subject: [PATCH] Enhance mobile cropping experience with dual-mode scanner - Add toggle between Smart Scan (jscanify) and Manual Crop (cropper.js) modes - Default to Manual Crop mode on touch devices for easier mobile use - Integrate cropper.js with pinch-to-zoom, pan, and touch-friendly handles - Increase corner point size and button sizes for better touch targets - Add mobile help text and visual guidance - Maintain backward compatibility with existing scanner functionality - Improve touch event handling to prevent unwanted scrolling --- admin/scanner_modal.php | 513 +++++++++++++++++++++++++++++----------- 1 file changed, 377 insertions(+), 136 deletions(-) diff --git a/admin/scanner_modal.php b/admin/scanner_modal.php index 5a3690f..96e111e 100644 --- a/admin/scanner_modal.php +++ b/admin/scanner_modal.php @@ -3,28 +3,51 @@