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-Tag: v1.1.0%b1~416 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/6056cd7aa416624a1678014eae64138affa31b5c?hp=--cc Fix iPad pinstripes using private API; it sucks but it's the only way to work around Apple's idiotic bug there. --- 6056cd7aa416624a1678014eae64138affa31b5c 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];