Ensure that RTL is handled by bounds animator
One recent CL (https://crrev.com/c/2055982) adds the option to use layer transformation for bounds animation. However, it fails to handle RTL properly. Different from View::SetBounds which handles RTL, View::SetTransform does not do that. This CL mirrors the start bounds and target bounds of transform animation when RTL should be handled. Bug: 1067033 Change-Id: I1c5aceec54e4f167ac2a80d93fc0c156e0afa9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140774 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#761021}
Showing
Please register or sign in to comment