Commit 64559eae authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

Show toolbar buttons after omnibox resized

This CL changes the animations of the toolbar when the omnibox is
unfocused. The buttons are now appearing after the omnibox is resized.

Bug: 804748
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I149a004f4aa9e8d643ad2cc6d88de95855a66f83
Reviewed-on: https://chromium-review.googlesource.com/922102
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537260}
parent 05db906e
...@@ -84,8 +84,11 @@ ...@@ -84,8 +84,11 @@
curve:UIViewAnimationCurveEaseInOut curve:UIViewAnimationCurveEaseInOut
animations:showControls]; animations:showControls];
[slowAnimator addCompletion:^(UIViewAnimatingPosition finalPosition) {
[fastAnimator startAnimation];
}];
[slowAnimator startAnimation]; [slowAnimator startAnimation];
[fastAnimator startAnimation];
} else { } else {
contraction(); contraction();
showControls(); showControls();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment