again whoops

This commit is contained in:
2026-05-10 15:18:49 +02:00
parent 24caffa8a9
commit 7da4fb90d2
+2
View File
@@ -229,6 +229,8 @@
ctx.fillStyle = '#060b14';
ctx.fillRect(0, 0, W, H);
let yMax = 1;
let yMin = -1;
const vals = [...histInput, ...histAudio, ...histAgc].filter(v => v !== null);
if (vals.length) {
yMin = Math.min(...vals);