Skip to content

Commit

Permalink
Update Rect
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurYCQ committed Jul 22, 2024
1 parent 6240af0 commit 8019e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CodeScanner/ScannerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ extension CodeScannerView {
width: min(max(parentView.rectOfInterest.width, 0), 1),
height: min(max(parentView.rectOfInterest.height, 0), 1)
)
metadataOutput.rectOfInterest = convertRectToUse(rect: rect)
metadataOutput.rectOfInterest = rect
} else {
didFail(reason: .badOutput)
return
Expand Down

0 comments on commit 8019e60

Please sign in to comment.