Quick TUIImageView drawing fix for TUIStretchableImages #25

Merged
merged 1 commit into from Aug 2, 2011

Conversation

Projects
None yet
2 participants
@patr1ck
Contributor

patr1ck commented Jul 30, 2011

TUIImageView's drawRect: method should ask the child image to draw, not draw the child images CGImage itself.

This fixes a bug where TUIStretchableImages wouldn't be drawn properly when placed in a TUIImageView.

I've tested this in a small side project and things seem to work fine.

TUIImageView's drawRect: method should ask the child image to draw it…
…self, not draw the child images CGImage itself.

This fixes a bug where TUIStretchableImages wouldn't be drawn properly when placed in a TUIImageView.

atebits added a commit that referenced this pull request Aug 2, 2011

Merge pull request #25 from patr1ck/master
Quick TUIImageView drawing fix for TUIStretchableImages

@atebits atebits merged commit 91875a2 into twitter-archive:master Aug 2, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment