summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-08-10 17:36:31 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 08:21:26 +0000
commite0c9f6b48aed7882012fc56df96035f00df8bd20 (patch)
tree89c945cf826ad5656557105250c830e9829c99a8 /Cydia.mm
parentc974089433cbbd11a1526b79ad282fd53a61aeb0 (diff)
Commit (chpwn): packages-cell-landscape.patch
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 176ea87..53ea2ea 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];