From ee5e40118568803f2604ca042506c376249b25d8 Mon Sep 17 00:00:00 2001 From: syoul Date: Mon, 23 Mar 2026 23:30:05 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20masquer=20la=20barre=20de=20g=C3=A9oloca?= =?UTF-8?q?lisation=20en=20mode=20animation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit En mode animation, visibleTransactions ne contient que les tx géolocalisées → geoCount/transactionCount = 100% systématiquement, ce qui est trompeur. La couverture Cesium+ est une propriété du pipeline global, pas d'une frame. Co-Authored-By: Claude Sonnet 4.6 --- src/components/StatsPanel.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/StatsPanel.tsx b/src/components/StatsPanel.tsx index bebedaa..c77bf86 100644 --- a/src/components/StatsPanel.tsx +++ b/src/components/StatsPanel.tsx @@ -109,8 +109,9 @@ export function StatsPanel({ stats, loading, periodDays, source, currentUD, anim })()} delta={prevTxCount !== null ? (stats.transactionCount > prevTxCount ? 'up' : stats.transactionCount < prevTxCount ? 'down' : null) : null} /> - {/* Couverture géo — uniquement en mode live */} - {source === 'live' && geoPct !== null && ( + {/* Couverture géo — uniquement en mode live, masquée en animation + (visibleTransactions ne contient que du géolocalisé → toujours 100%) */} + {source === 'live' && geoPct !== null && !animationLabel && (

Géolocalisées