Commit 5f9534d6 authored by Takumi Fujimoto's avatar Takumi Fujimoto Committed by Commit Bot

[Media Router WebUI] Increase max dialog height from 5 to 10 sinks

Bug: 766181
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I697b83366ab4f53c5414d713c521a91f569a69db
Reviewed-on: https://chromium-review.googlesource.com/671478Reviewed-by: default avatarDerek Cheng <imcheng@chromium.org>
Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
Cr-Commit-Position: refs/heads/master@{#502938}
parent 3e905a76
......@@ -2565,9 +2565,9 @@ Polymer({
firstRunFlowHeight - issueHeight - searchHeight + searchPadding -
sinkListPadding;
// Limit the height of the dialog to five items, including search.
// Limit the height of the dialog to ten items, including search.
var sinkItemHeight = 41;
var maxSinkItems = hasSearch ? 4 : 5;
var maxSinkItems = hasSearch ? 9 : 10;
this.sinkListMaxHeight_ =
Math.min(sinkItemHeight * maxSinkItems, this.sinkListMaxHeight_);
if (sinkList)
......
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