summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-12-11 20:42:01 -0800
committerGrant Paul <chpwn@chpwn.com>2010-12-11 20:42:06 -0800
commitc91ec661ac82421232122d5b1e4a62f74205ab58 (patch)
treeb4c1928dd7a685d4697bd094056df9bbeb2c174a /UICaboodle
parent4fe4bdc33ed8d35c5171f90c2a2f9117f5ab5c24 (diff)
Undo my own fix for the lack of pinstripes on the iPad: pinstripes spread out when rotating when using -pinStripeColor. A real fix is still needed.
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 2666b5b..f1053f8 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 pinStripeColor];
+ uic = [UIColor groupTableViewBackgroundColor];
else if (alpha != 0)
uic = [UIColor
colorWithRed:(red / 255)
@@ -732,7 +732,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
}
if (!colored)
- [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
+ [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
break;
}
}
@@ -995,7 +995,7 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
}
[scroller_ setFixedBackgroundPattern:YES];
- [scroller_ setBackgroundColor:[UIColor pinStripeColor]];
+ [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
[scroller_ setClipsSubviews:YES];
[scroller_ setBounces:YES];