Increase VU meter LED gap from 1px to 2px

This commit is contained in:
Armin 2026-07-08 18:23:23 +02:00
commit a7f62a7bd8

View file

@ -550,7 +550,7 @@ function drawSpectrum() {
const gap = 4; const gap = 4;
const labelW = 12; const labelW = 12;
const segCount = 32; const segCount = 32;
const segG = 1; const segG = 2;
const segW = Math.floor((vw - labelW - (segCount - 1) * segG) / segCount); const segW = Math.floor((vw - labelW - (segCount - 1) * segG) / segCount);
const totalSegW = segCount * segW + (segCount - 1) * segG; const totalSegW = segCount * segW + (segCount - 1) * segG;
const segLeft = labelW + Math.floor(((vw - labelW) - totalSegW) / 2); const segLeft = labelW + Math.floor(((vw - labelW) - totalSegW) / 2);