From 88d78cce5fbf98ca78fd98340e86937aad9aa2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabien=20B=C3=A9zagu?= Date: Fri, 20 Sep 2024 11:24:14 +0200 Subject: [PATCH] Change la suggestion de mention active au survol ...ce fonctionnement se rapproche beaucoup de celui de Discord --- .../lib/mesure/commentaire/ListeSuggestionsMention.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/svelte/lib/mesure/commentaire/ListeSuggestionsMention.svelte b/svelte/lib/mesure/commentaire/ListeSuggestionsMention.svelte index bfdba31e9..0da7c48df 100644 --- a/svelte/lib/mesure/commentaire/ListeSuggestionsMention.svelte +++ b/svelte/lib/mesure/commentaire/ListeSuggestionsMention.svelte @@ -30,6 +30,10 @@ return false; } + + const survol = (index: number) => { + activeIdx = index; + };