summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];