Commit 07c2492c authored by alph's avatar alph Committed by Commit bot

DevTools: Make sure non-collapsible flamechart groups are treated as expanded.

NOTRY=true

Review-Url: https://codereview.chromium.org/2885183002
Cr-Commit-Position: refs/heads/master@{#472254}
parent 05856cb2
...@@ -1127,8 +1127,9 @@ PerfUI.FlameChart = class extends PerfUI.ChartViewport { ...@@ -1127,8 +1127,9 @@ PerfUI.FlameChart = class extends PerfUI.ChartViewport {
if (groupIndex >= 0) { if (groupIndex >= 0) {
var group = groups[groupIndex]; var group = groups[groupIndex];
var style = group.style; var style = group.style;
height = isFirstOnLevel && !style.shareHeaderLine || !group.expanded ? style.height : height = isFirstOnLevel && !style.shareHeaderLine || (style.collapsible && !group.expanded) ?
(style.itemsHeight || this._barHeight); style.height :
(style.itemsHeight || this._barHeight);
} else { } else {
height = this._barHeight; height = this._barHeight;
} }
......
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