Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2682b2a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
yushulx committed Nov 16, 2023
1 parent caef8b7 commit 5c7f647
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 14 deletions.
6 changes: 5 additions & 1 deletion _content/RazorBarcodeLibrary/barcodeJsInterop.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,15 @@ export async function setVideoElement(scanner, videoId) {
}
}

export async function openCamera(scanner, cameraInfo) {
export async function openCamera(scanner, cameraInfo, dotNetHelper, callback) {
if (!Dynamsoft) return;

try {
await scanner.setCurrentCamera(cameraInfo);
scanner.onPlayed = function () {
let resolution = scanner.getResolution();
dotNetHelper.invokeMethodAsync(callback, resolution[0], resolution[1]);
}
await scanner.show();
}
catch (ex) {
Expand Down
Binary file modified _framework/RazorBarcodeLibrary.dll
Binary file not shown.
Binary file modified _framework/RazorBarcodeLibrary.dll.br
Binary file not shown.
Binary file modified _framework/RazorBarcodeLibrary.dll.gz
Binary file not shown.
Binary file modified _framework/RazorBarcodeLibrary.pdb.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions _framework/blazor.boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"linkerEnabled": true,
"resources": {
"assembly": {
"example.dll": "sha256-LExzlvmmjm+B9zBx2cEyl32O+wWKyEF66\/NqKec8lWo=",
"example.dll": "sha256-9RdYBojRUD9T7mLgprKxk0V3PU220XnFXNdAZTeoUKY=",
"Microsoft.AspNetCore.Components.dll": "sha256-ofUX8JP1w0mYgbjtG23BhquxLHTmqLT5lTjudT9sWl4=",
"Microsoft.AspNetCore.Components.Web.dll": "sha256-U6ceRxD42\/v52j3G+BAuYnv4TyK9ElGdl3U+hOB8sqo=",
"Microsoft.AspNetCore.Components.WebAssembly.dll": "sha256-oY+xvfgFDh2fHdG6aKlPAZADSchxD3dZQ0V9Xg41uXo=",
Expand All @@ -22,7 +22,7 @@
"Microsoft.Extensions.Primitives.dll": "sha256-eXvGx2jcjpTPEJoAHBsW\/VuMPbNyyU+AsuhPmkzSSRY=",
"Microsoft.JSInterop.dll": "sha256-KoXvfIJR0Cyk0KC5XhybsEdOzLDuqskQrC6DUIwO3MI=",
"Microsoft.JSInterop.WebAssembly.dll": "sha256-bzbqcJ6KmXNtttCdwlY3JqqzIuFo0rRDUc7qjI8CKYM=",
"RazorBarcodeLibrary.dll": "sha256-WKnBLPSE86m8po8y7fwhclP1ZGjUH7EW\/gcGMjsN5mM=",
"RazorBarcodeLibrary.dll": "sha256-KpwaVBisP\/cnb\/JPQjL6XrWZDgGS7Frl5aydA\/V8LGQ=",
"System.Collections.Concurrent.dll": "sha256-iVVE9O+NcP6iYl4sd\/ZeC3urQoyLH9oTiV2umPpI0Ec=",
"System.Collections.dll": "sha256-MhT1\/odzSutq6AYh7cLU975syM0Snr+wF9TMFLtM934=",
"System.ComponentModel.dll": "sha256-pGP1Cnq1M\/2Hkyb2tJWqyVXzPDBaqoWBi3pBs4L1Cbg=",
Expand Down
Binary file modified _framework/blazor.boot.json.br
Binary file not shown.
Binary file modified _framework/blazor.boot.json.gz
Binary file not shown.
Binary file modified _framework/example.dll
Binary file not shown.
Binary file modified _framework/example.dll.br
Binary file not shown.
Binary file modified _framework/example.dll.gz
Binary file not shown.
Binary file modified _framework/example.pdb.gz
Binary file not shown.
13 changes: 2 additions & 11 deletions css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,6 @@ a, .btn-link {
height: 100%;
}

#overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
}

.loading-indicator {
position: absolute;
top: 0;
Expand Down Expand Up @@ -205,12 +196,12 @@ input {
z-index: 1
}

#videoOverlay {
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
z-index: 1;
object-fit: contain
}

0 comments on commit 5c7f647

Please sign in to comment.