Commit 7e7b640a authored by Toni Barzic's avatar Toni Barzic Committed by Commit Bot

app_list: Do not scale down folder header height

If the folder height is reduced too much, the page switcher icons get
cut off, and misplaced. It's safer to just keep the original folder
heaser size, as scaling it down does not get too much of the height
back.

BUG=1004705, 1004706

Change-Id: I63e65e2d9badaf4eb4b9932ad48187f9f3e13c1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810331Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Toni Baržić <tbarzic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697773}
parent 89c771b9
......@@ -412,8 +412,7 @@ AppListConfig::AppListConfig(const AppListConfig& base_config,
scale_x,
inner_tile_scale_y)),
folder_bubble_y_offset_(base_config.folder_bubble_y_offset_),
folder_header_height_(
MinScale(base_config.folder_header_height_, scale_y, 1)),
folder_header_height_(base_config.folder_header_height_),
folder_icon_dimension_(MinScale(base_config.folder_icon_dimension_,
scale_x,
inner_tile_scale_y)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment