Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm

Issue 2685823002: [ios clean] ToolsMenu UI changes (Closed)
Patch Set: Use NSTextAlignmentNatural for RTL Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm
diff --git a/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm b/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm
index ebba79871565b162ae2b64ee7f9cde5e6ccfa2a6..44221e484ba5974c9d59ddde0f0893af8bc21d85 100644
--- a/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm
+++ b/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm
@@ -50,9 +50,10 @@
}
- (void)presentationTransitionWillBegin {
- self.presentedView.layer.borderWidth = 1.0;
- self.presentedView.layer.shadowRadius = 1.0;
- self.presentedView.layer.borderColor = [UIColor blackColor].CGColor;
+ self.presentedView.layer.shadowRadius = 5.0f;
+ self.presentedView.layer.shadowOpacity = 0.4f;
+ self.presentedView.layer.shadowOffset = CGSizeMake(0.0f, 0.0f);
+ self.presentedView.layer.cornerRadius = 2.0f;
self.dismissRecognizer =
[[UITapGestureRecognizer alloc] initWithTarget:self
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698