mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
keep session dot in list for current active (#4185)
This commit is contained in:
parent
c9a52c9a85
commit
02b7cc8313
1 changed files with 7 additions and 2 deletions
|
|
@ -259,10 +259,15 @@ function Option(props: {
|
|||
onMouseOver?: () => void
|
||||
}) {
|
||||
const { theme } = useTheme()
|
||||
|
||||
return (
|
||||
<>
|
||||
<Show when={props.current && !props.active}>
|
||||
<text flexShrink={0} fg={theme.primary} marginRight={0.5}>
|
||||
<Show when={props.current}>
|
||||
<text
|
||||
flexShrink={0}
|
||||
fg={props.active ? theme.background : props.current ? theme.primary : theme.text}
|
||||
marginRight={0.5}
|
||||
>
|
||||
●
|
||||
</text>
|
||||
</Show>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue