From f92764b0118008fc773a5e41d5ea2eea7196cf8a Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 17 May 2021 17:26:13 -0700 Subject: [PATCH] Update lighthouse-treemap/app/src/main.js Co-authored-by: Connor Clark --- lighthouse-treemap/app/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse-treemap/app/src/main.js b/lighthouse-treemap/app/src/main.js index 5a7449154054..60c173c20c95 100644 --- a/lighthouse-treemap/app/src/main.js +++ b/lighthouse-treemap/app/src/main.js @@ -612,7 +612,7 @@ class TreemapViewer { dom.style.backgroundColor = depthOneNodeColor; - // Set a bicolor background to communicate unused-bytes + // Shade the element to communicate coverage. if (this.currentViewMode.id === 'unused-bytes') { const pctUsed = (1 - (node.unusedBytes || 0) / node.resourceBytes) * 100; dom.style.setProperty('--pctUsed', `${pctUsed}%`);