mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
This commit is contained in:
parent
75e3b9116d
commit
031da29a57
1 changed files with 5 additions and 2 deletions
|
|
@ -129,14 +129,17 @@ const ContextMenu: React.FC<ContextMenuProps> = ({
|
|||
style={{
|
||||
padding: "8px 12px",
|
||||
cursor: isOptionSelectable(option) ? "pointer" : "default",
|
||||
color: "var(--vscode-dropdown-foreground)",
|
||||
color:
|
||||
index === selectedIndex && isOptionSelectable(option)
|
||||
? "var(--vscode-quickInputList-focusForeground)"
|
||||
: "",
|
||||
borderBottom: "1px solid var(--vscode-editorGroup-border)",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
backgroundColor:
|
||||
index === selectedIndex && isOptionSelectable(option)
|
||||
? "var(--vscode-list-activeSelectionBackground)"
|
||||
? "var(--vscode-quickInputList-focusBackground)"
|
||||
: "",
|
||||
}}
|
||||
onMouseEnter={() => isOptionSelectable(option) && setSelectedIndex(index)}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue