From e0c9f6b48aed7882012fc56df96035f00df8bd20 Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Tue, 10 Aug 2010 17:36:31 +0000 Subject: [PATCH] Commit (chpwn): packages-cell-landscape.patch --- Cydia.mm | 6 ++++++ 1 file changed, 6 insertions(+) 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]; -- 2.45.2