summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-12-11 16:17:16 -0800
committerGrant Paul <chpwn@chpwn.com>2010-12-11 16:17:16 -0800
commit6056cd7aa416624a1678014eae64138affa31b5c (patch)
tree5a1a2800bbb955bf9306cd077ae1faa664265d7a /UICaboodle
parente22a52e0106d8d334fb9cf67120a8639c20f9909 (diff)
Fix iPad pinstripes using private API; it sucks but it's the only way to work around Apple's idiotic bug there.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index f1053f8..2666b5b 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];