Fix scrollable shelf animation of adding/removing shelf item
Mainly two modifications in this CL: (1) When no arrow button shows, ensures that the shelf view's bounds are not changed by adding/removing a shelf item. It helps the correct bounds animation for shelf items. (2) Only notify scrollable shelf of shelf view's changed preferred size when adding/removing shelf items. Bug: 1009392 Change-Id: I60dc640ee19abc51eddc66a658d14b2ea2af5b0f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1838993 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#702928}
Showing
Please register or sign in to comment