Shrink tab to the correct position in GTS animation
http://crrev.com/c/2149626 converts the LayoutTab to a PropertyModel and uses the constant start and end animation value when creating the CompositorAnimator for the shrink tab animation. The use of the constant values causes the shrinking tab animates to a wrong position, since the targeted Rect can be changed after the CompositorAnimator is created. This CL fixes the issue by using the Supplier to supply the start and end value. Change-Id: Ife607faa06aadd508816179ad856eadacc3e1e90 Bug: 1096718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254715Reviewed-by:David Trainor <dtrainor@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Reviewed-by:
Wei-Yin Chen (陳威尹) <wychen@chromium.org> Commit-Queue: Mei Liang <meiliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#782130}
Showing
Please register or sign in to comment