Permalink
Browse files

Fix infinite recursion in -[TUIStretchableImage drawInRect:fromRect:o…

…peration:fraction:]
  • Loading branch information...
1 parent 9216369 commit 531605cd2895a093b78309171d77c6038a3c735c @jspahrsummers jspahrsummers committed Jul 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/UIKit/TUIStretchableImage.m
@@ -25,7 +25,7 @@ @implementation TUIStretchableImage
#pragma mark Drawing
- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect operation:(NSCompositingOperation)op fraction:(CGFloat)alpha {
- [self drawInRect:dstRect fromRect:srcRect operation:op fraction:alpha];
+ [self drawInRect:dstRect fromRect:srcRect operation:op fraction:alpha respectFlipped:YES hints:nil];
}
- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect operation:(NSCompositingOperation)op fraction:(CGFloat)alpha respectFlipped:(BOOL)respectFlipped hints:(NSDictionary *)hints {

0 comments on commit 531605c

Please sign in to comment.