From 2f8db17fd16cd5c2262566b3b45a0cf8954d4794 Mon Sep 17 00:00:00 2001 From: yushulx Date: Fri, 17 Nov 2023 11:07:04 +0800 Subject: [PATCH] Updated --- RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js b/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js index c71e9e3..b788b7c 100644 --- a/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js +++ b/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js @@ -57,6 +57,11 @@ export async function createBarcodeScanner() { try { let scanner = await Dynamsoft.DBR.BarcodeScanner.createInstance(); + await scanner.updateRuntimeSettings("speed"); + scanner.barcodeFillStyle = "transparent"; + scanner.barcodeStrokeStyle = "transparent"; + scanner.barcodeFillStyleBeforeVerification = "transparent"; + scanner.barcodeStrokeStyleBeforeVerification = "transparent"; scanner.onUnduplicatedRead = (txt, result) => { }; scanner.onPlayed = function () {