Commit 5feadf38 authored by raymes's avatar raymes Committed by Commit bot

Ensure the OOP PDF progress bar segments are visible

Currently they don't get displayed at all!

BUG=450232
TBR=sammc@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#313155}
parent dc6a394c
......@@ -14,7 +14,7 @@ Polymer('viewer-progress-bar', {
var numVisible = this.progress * this.segments.length / 100.0;
for (var i = 0; i < this.segments.length; i++) {
this.segments[i].style.visibility =
i < numVisible ? 'auto' : 'hidden';
i < numVisible ? 'inherit' : 'hidden';
}
if (this.progress >= 100 || this.progress < 0)
......
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