From: Grant Paul Date: Sun, 12 Dec 2010 00:17:16 +0000 (-0800) Subject: Fix iPad pinstripes using private API; it sucks but it's the only way to work around... X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/00ab3f15dcee62924231785bd0c78d93497adfc8 Fix iPad pinstripes using private API; it sucks but it's the only way to work around Apple's idiotic bug there. --- diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index f1053f85..2666b5b3 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -715,7 +715,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se UIColor *uic(nil); if (red == 0xc7 && green == 0xce && blue == 0xd5) - uic = [UIColor groupTableViewBackgroundColor]; + uic = [UIColor pinStripeColor]; else if (alpha != 0) uic = [UIColor colorWithRed:(red / 255) @@ -732,7 +732,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se } if (!colored) - [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; + [scroller_ setBackgroundColor:[UIColor pinStripeColor]]; break; } } @@ -995,7 +995,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se } [scroller_ setFixedBackgroundPattern:YES]; - [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; + [scroller_ setBackgroundColor:[UIColor pinStripeColor]]; [scroller_ setClipsSubviews:YES]; [scroller_ setBounces:YES];