Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve visibility check #41

Merged
merged 3 commits into from
Feb 25, 2022
Merged

Improve visibility check #41

merged 3 commits into from
Feb 25, 2022

Conversation

gabriellanata
Copy link
Contributor

The visibility check was not taking into account the clipsToBounds property so it was often returning the wrong error (it should have passed the visibility check but not the hittable check).

Fixes #38

@@ -2,6 +2,7 @@ import Hammer
import UIKit
import XCTest

// swiftlint:disable:next type_body_length
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll split these up in a future PR

@gabriellanata
Copy link
Contributor Author

👀 @dduan

@gabriellanata gabriellanata merged commit 1736a39 into main Feb 25, 2022
@gabriellanata gabriellanata deleted the Improve-visibility-check branch February 25, 2022 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

viewIsVisible Implementation Incorrect
2 participants