• Andrew Xu's avatar
    Fix the issue of hotseat's end padding · dd8e4931
    Andrew Xu authored
    There should be a 4-pixel padding between hotseat's end and edging
    app icon. The padding is implemented via shelf view's
    |app_icons_layout_offset_|. However, update on
    |app_icons_layout_offset_| does not change the shelf view's layout
    directly. As a result, the padding may be missing. This CL fixes such
    an issue by refreshing the shelf view's layout right after value update.
    
    Bug: 1017979
    Change-Id: I0aceaf6a20331cfca410ad1b418b461ac9d60e90
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809063Reviewed-by: default avatarManu Cornet <manucornet@chromium.org>
    Commit-Queue: Andrew Xu <andrewxu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#709491}
    dd8e4931
scrollable_shelf_view_unittest.cc 17.9 KB