keep session dot in list for current active (#4185)

This commit is contained in:
Aiden Cline 2025-11-10 20:20:35 -08:00 committed by GitHub
commit 02b7cc8313
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,10 +259,15 @@ function Option(props: {
onMouseOver?: () => void onMouseOver?: () => void
}) { }) {
const { theme } = useTheme() const { theme } = useTheme()
return ( return (
<> <>
<Show when={props.current && !props.active}> <Show when={props.current}>
<text flexShrink={0} fg={theme.primary} marginRight={0.5}> <text
flexShrink={0}
fg={props.active ? theme.background : props.current ? theme.primary : theme.text}
marginRight={0.5}
>
</text> </text>
</Show> </Show>