change highlight timing

This commit is contained in:
Henry Hiles 2026-09-26 13:42:31 -04:00
commit 031fbe326c
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -100,11 +100,10 @@ final class const RoomChat({
Future<void> jumpToId(String eventId) async {
highlightedEvent.value = eventId;
final jump = scroll.jumpToId(eventId);
await Future.delayed(.new(seconds: 1), () {
await scroll.jumpToId(eventId);
await Future.delayed(.new(milliseconds: 700), () {
if (highlightedEvent.value == eventId) highlightedEvent.value = null;
});
await jump;
}
IList<PopupMenuEntry> getEventOptions(Event event) =>