]> git.saurik.com Git - cydia.git/commitdiff
You cannot scrollRectToVisible: a degenerate CGRect.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 6 Mar 2011 04:01:14 +0000 (20:01 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:39 +0000 (02:41 -0800)
MobileCydia.mm

index 79caf4fcb06ac47c5d337d11b108cd4744b9600f..878cf45f8ab60d69422b06a98c4fe0a1de4092c3 100644 (file)
@@ -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