From f366c1f0fa3c258eab2aa967585eb42d9bed155e Mon Sep 17 00:00:00 2001 From: Nadir Technologies Date: Tue, 19 Dec 2023 14:43:59 +0000 Subject: [PATCH] Bug fix for debug panel --- player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.js b/player.js index 43d3e56..7248bed 100644 --- a/player.js +++ b/player.js @@ -89,7 +89,7 @@ function analyse() { const alpha = 0.1 + (generalVolume / 255) * 0.9; if (localStorage.getItem("debug") == "enabled") { - document.getElementById("a-value").style.height = `${alpha / 255 * 100}px`; + document.getElementById("a-value").style.height = `${alpha * 100}%`; document.getElementById("a-text").innerText = Math.round(alpha * 10) / 10; }