summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-05 20:01:14 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:39 -0800
commit4c6a29cdb4ebf5c229d627b4abb7cb9963bc0bf5 (patch)
tree7f9c04e49095276728066dcfd8f9eb0c84ffeab0
parentc31d7cdc8a13123ba06b93bcab517b046f2cd0b2 (diff)
You cannot scrollRectToVisible: a degenerate CGRect.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 79caf4f..878cf45 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6201,7 +6201,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (void) resetCursor {
- [list_ scrollRectToVisible:CGRectMake(0, 0, 0, 0) animated:NO];
+ [list_ scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:NO];
}
@end