Commit f046e9d2 authored by calamity's avatar calamity Committed by Commit bot

Fix search box shadowing issue on classic app list.

This CL fixes a bug with the classic app list where the search box
would turn grey when typing into it. This was happening because the
shadow value from the experimental app list was being used.

BUG=469983

Review URL: https://codereview.chromium.org/1027513004

Cr-Commit-Position: refs/heads/master@{#321961}
parent c3c7da39
...@@ -192,7 +192,9 @@ void SearchResultPageView::OnAnimationUpdated(double progress, ...@@ -192,7 +192,9 @@ void SearchResultPageView::OnAnimationUpdated(double progress,
} }
int SearchResultPageView::GetSearchBoxZHeight() const { int SearchResultPageView::GetSearchBoxZHeight() const {
return kSearchResultZHeight; return switches::IsExperimentalAppListEnabled()
? kSearchResultZHeight
: AppListPage::GetSearchBoxZHeight();
} }
} // namespace app_list } // namespace app_list
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