Skip to content

Commit

Permalink
Bug fix for debug panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadir Technologies committed Dec 19, 2023
1 parent 302365c commit f366c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f366c1f

Please sign in to comment.