X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/c974089433cbbd11a1526b79ad282fd53a61aeb0..e0c9f6b48aed7882012fc56df96035f00df8bd20:/Cydia.mm 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];