Skip to content

Commit

Permalink
Merge pull request #362 from valeriyvan/typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
AvdLee authored Jun 23, 2023
2 parents d86a29b + 28dc3a3 commit 7961f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/WeScan/Common/QuadrilateralView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,11 @@ final class QuadrilateralView: UIView {

private func resetHighlightedCornerViews(cornerViews: [EditScanCornerView]) {
cornerViews.forEach { cornerView in
resetHightlightedCornerView(cornerView: cornerView)
resetHighlightedCornerView(cornerView: cornerView)
}
}

private func resetHightlightedCornerView(cornerView: EditScanCornerView) {
private func resetHighlightedCornerView(cornerView: EditScanCornerView) {
cornerView.reset()
let origin = CGPoint(x: cornerView.frame.origin.x + (cornerView.frame.size.width - cornerViewSize.width) / 2.0,
y: cornerView.frame.origin.y + (cornerView.frame.size.height - cornerViewSize.width) / 2.0)
Expand Down

0 comments on commit 7961f41

Please sign in to comment.