From 28dc3a311d8d232327edeecf8af36686836a717e Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Thu, 22 Jun 2023 23:16:05 +0300 Subject: [PATCH] Fix typo --- Sources/WeScan/Common/QuadrilateralView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/WeScan/Common/QuadrilateralView.swift b/Sources/WeScan/Common/QuadrilateralView.swift index 62109106..f44466ab 100644 --- a/Sources/WeScan/Common/QuadrilateralView.swift +++ b/Sources/WeScan/Common/QuadrilateralView.swift @@ -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)