Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

When comparing the size of the image and the imageview's size. The origin of the image view should not be considered. #143

Merged
merged 1 commit into from Sep 10, 2015

Conversation

jeroenleenarts
Copy link
Contributor

I have noticed that when positioning a imageView in a cell on another location unintended behavior occurs due to the fact that even though the image could be contained within the bounds of the imageview, the CGContainsRect call "fails" because the origin places one or more corners of the imageview frame outside of the generated imageView rect.

…igin of the image view should not be considered.

I have noticed that when positioning a imageView in a cell on another location unintended behavior occurs due to the fact that even though the image could be contained within the bounds of the imageview, the CGContainsRect call "fails" because the origin places one or more corners of the imageview frame outside of the generated imageView rect.
@nlutsenko
Copy link
Contributor

Sorry took that long to get to it, looks great!

nlutsenko added a commit that referenced this pull request Sep 10, 2015
When comparing the size of the image and the imageview's size. The origin of the image view should not be considered.
@nlutsenko nlutsenko merged commit 4282c57 into parse-community:master Sep 10, 2015
@nlutsenko nlutsenko added this to the 1.1.6 milestone Sep 10, 2015
@jeroenleenarts jeroenleenarts deleted the patch-1 branch September 10, 2015 06:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants