Skip to content

Commit

Permalink
[iOS] Tune updated new tab animation
Browse files Browse the repository at this point in the history
A small tweak to the spring damping ratio for the new tab animation, which ensures that the spring effect doesn't show a black hairline on an iPhone X.

Bug: 851872
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I1b6769f9d4b124e332efddf2f9602b4665d7aca8
Reviewed-on: https://chromium-review.googlesource.com/1146640
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Commit-Queue: Mark Cogan <marq@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#577156}(cherry picked from commit 946179d)
Reviewed-on: https://chromium-review.googlesource.com/1149800
Reviewed-by: Mark Cogan <marq@chromium.org>
Cr-Commit-Position: refs/branch-heads/3497@{#65}
Cr-Branched-From: 271eaf5-refs/heads/master@{#576753}
  • Loading branch information
marcq authored and Mark Cogan committed Jul 25, 2018
1 parent fb463bc commit 4745a26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace {
const NSTimeInterval kAnimationDuration = 0.75;
const CGFloat kTabMotionDamping = 0.7;
const CGFloat kTabMotionDamping = 0.75;
const CGFloat kTabFadeInRelativeDuration = 0.4;
const CGFloat kBackgroundFadeRelativeDuration = 0.33;
const CGFloat kCornerRoundingRelativeDuration = 0.33;
Expand Down

0 comments on commit 4745a26

Please sign in to comment.