Commit 8485e5e5 authored by Manu Cornet's avatar Manu Cornet Committed by Commit Bot

CrOS Shelf: When the hotseat is enabled, also enable scrollable shelf

Bug: 973481, 973482, 973483
Change-Id: I5e4a521508defaa48a7d62c26ade5d092b112b08
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797486Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
Commit-Queue: Manu Cornet <manucornet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697280}
parent e9e97300
......@@ -557,6 +557,9 @@ bool ShouldShowShelfHoverPreviews() {
}
bool ShouldShowScrollableShelf() {
// If we're showing the new shelf design, also enable scrollable shelf.
if (ShouldShowShelfHotseat())
return true;
return base::CommandLine::ForCurrentProcess()->HasSwitch(kShelfScrollable);
}
......
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