Ensure to update shelf view's layout after switching to tablet mode
Move the logic of adding the extra four-pixel padding for tablet mode from ScrollableShelfView::Layout to ScrollableShelfContainerView's layout. It helps to update the shelf view's layout after switching to the tablet mode. Bug: 1012354 Change-Id: I975954faf687c144166e8a86ae9fa89959e931f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850796Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#712673}
Showing
Please register or sign in to comment