From d2eadfec7efb00d90527f0505d8e095a74fa7566 Mon Sep 17 00:00:00 2001 From: JotaChina Date: Mon, 15 Dec 2025 18:38:24 -0300 Subject: [PATCH] =?UTF-8?q?reforma=20da=20interface=20da=20p=C3=A1gina=20d?= =?UTF-8?q?e=20projetos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/projetos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/projetos.md b/pages/projetos.md index d218803e..d11c5e21 100755 --- a/pages/projetos.md +++ b/pages/projetos.md @@ -456,7 +456,7 @@ document.addEventListener('DOMContentLoaded', () => { genero = info.analise_ia?.genero_macro || "Unknown"; intensidade = parseFloat(info.analise_tecnica?.intensidade_db || -100); bpm = parseFloat(info.analise_tecnica?.bpm || 0); - estrelas = parseInt(info.analise_tecnica?.complexidade?.estrelas || 0); + estrelas = Math.round(info.analise_tecnica?.complexidade?.estrelas || 0); // HTML do Tom if (info.analise_tecnica?.tom) { @@ -566,7 +566,7 @@ document.addEventListener('DOMContentLoaded', () => { const s = parseInt(c.dataset.stars || 0); const matchG = (currentGenre === 'all' || g === currentGenre); - const matchS = (currentMinStars === 'all' || s >= parseInt(currentMinStars)); + const matchS = (currentMinStars === 'all' || s === parseInt(currentMinStars)); col.style.display = (matchG && matchS) ? 'block' : 'none'; });