Commit 8600c449 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Animate constraints when exiting fullscreen

This CL animates the toolbar constraints change when animating the
fullscreen final position (i.e. getting out or in).

Bug: 876712
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
Change-Id: I58dc0c200138f9cf482e9ee25a76e2653665fbfe
Reviewed-on: https://chromium-review.googlesource.com/1199063Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587977}
parent 4fc972dc
......@@ -203,6 +203,7 @@
CGFloat finalProgress = animator.finalProgress;
[animator addAnimations:^{
[self updateForFullscreenProgress:finalProgress];
[self.view layoutIfNeeded];
}];
}
......
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