Skip to content

Commit e64045f

Browse files
authored
Merge pull request #2 from seedco/dm/73-disable-user-interaction-for-focus-rectangle
73: Disabled user interaction for focus rectangle.
2 parents e9a1715 + c36f60d commit e64045f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Seed-WeScan.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Seed-WeScan"
3-
s.version = "1.5.0-seed.0"
3+
s.version = "1.5.0-seed.1"
44
s.summary = "Document Scanning Made Easy for iOS"
55
s.description = "WeScan makes it easy to add scanning functionalities to your iOS app! It\'s modelled after UIImagePickerController, which makes it a breeze to use."
66
s.homepage = "https://github.com/seedco/WeScan"

WeScan/Scan/FocusRectangleView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ final class FocusRectangleView: UIView {
2121
layer.borderWidth = 2.0
2222
layer.cornerRadius = 6.0
2323
layer.borderColor = UIColor.yellow.cgColor
24+
isUserInteractionEnabled = false
2425

2526
// Here, we animate the rectangle from the `originalSize` to the `finalSize` by calculating the difference.
2627
UIView.animate(withDuration: 0.2, delay: 0.0, options: .curveEaseOut, animations: {

0 commit comments

Comments
 (0)