From: Grant Paul Date: Tue, 10 Aug 2010 17:36:31 +0000 (+0000) Subject: Commit (chpwn): packages-cell-landscape.patch X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/65c28cc4ee6bf65b9f0605fc40de059a2334a75a?ds=sidebyside Commit (chpwn): packages-cell-landscape.patch --- diff --git a/Cydia.mm b/Cydia.mm index 176ea870..53ea2eac 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -4700,6 +4700,12 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { delegate_ = delegate; } +/* Fix landscape: redraw when frame changes. */ +- (void) setFrame:(CGRect)frame { + [super setFrame:frame]; + [self setNeedsDisplay]; +} + - (void) drawRect:(CGRect)rect { [super drawRect:rect]; [delegate_ drawContentRect:rect];