]> git.saurik.com Git - cydia.git/commitdiff
Commit (chpwn): packages-cell-landscape.patch
authorGrant Paul <chpwn@chpwn.com>
Tue, 10 Aug 2010 17:36:31 +0000 (17:36 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 08:21:26 +0000 (08:21 +0000)
Cydia.mm

index 176ea870ad3e37bd4bb6d4515b9c51919efb09af..53ea2eac7c71617722a92b5e8d9d7aea8a5fd653 100644 (file)
--- 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];