From 589504d7fd777f1b48904fb0d97e53f270c7d6cf Mon Sep 17 00:00:00 2001 From: tryptz <216453278+tryptz@users.noreply.github.com> Date: Tue, 7 Apr 2026 13:38:34 +0000 Subject: [PATCH] style: auto-fix linting issues --- js/settings.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/settings.js b/js/settings.js index a39b666..ae71483 100644 --- a/js/settings.js +++ b/js/settings.js @@ -1566,9 +1566,10 @@ export async function initializeSettings(scrobbler, player, api, ui) { const prev = GEQ_FREQUENCIES[Math.max(0, i - 1)]; const next = GEQ_FREQUENCIES[Math.min(GEQ_FREQUENCIES.length - 1, i + 1)]; const octaves = Math.log2(next / prev); - const q = octaves > 0 - ? (Math.SQRT2 / (2 * Math.sinh((Math.LN2 / 2) * octaves))).toFixed(2) - : Math.SQRT2.toFixed(2); + const q = + octaves > 0 + ? (Math.SQRT2 / (2 * Math.sinh((Math.LN2 / 2) * octaves))).toFixed(2) + : Math.SQRT2.toFixed(2); lines.push(`Filter ${i + 1}: ON PK Fc ${freq} Hz Gain ${geqGains[i].toFixed(1)} dB Q ${q}`); }); const blob = new Blob([lines.join('\n')], { type: 'text/plain' });