ignore: improve session timeline debugging and message display functionality

This commit is contained in:
Dax Raad
2025-10-24 15:45:26 -04:00
parent e88b659545
commit 6ff0ce8bc5
3 changed files with 15 additions and 6 deletions

View File

@@ -23,6 +23,10 @@ export function List<T>(props: ListProps<T>) {
initialActive: props.current ? props.key(props.current) : undefined,
loop: true,
})
createEffect(() => {
if (props.current) list.setActive(props.key(props.current))
})
// const resetSelection = () => {
// if (props.data.length === 0) return
// list.setActive(props.key(props.data[0]))