mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
feat: Invert scroll arrow default in RadioButtonSelect (#4006)
This commit is contained in:
@@ -203,6 +203,7 @@ export function ThemeDialog({
|
||||
onHighlight={onHighlight}
|
||||
isFocused={currenFocusedSection === 'theme'}
|
||||
maxItemsToShow={8}
|
||||
showScrollArrows={true}
|
||||
/>
|
||||
|
||||
{/* Scope Selection */}
|
||||
@@ -217,7 +218,6 @@ export function ThemeDialog({
|
||||
onSelect={handleScopeSelect}
|
||||
onHighlight={handleScopeHighlight}
|
||||
isFocused={currenFocusedSection === 'scope'}
|
||||
showScrollArrows={false}
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
@@ -53,7 +53,7 @@ export function RadioButtonSelect<T>({
|
||||
onSelect,
|
||||
onHighlight,
|
||||
isFocused,
|
||||
showScrollArrows = true,
|
||||
showScrollArrows = false,
|
||||
maxItemsToShow = 10,
|
||||
}: RadioButtonSelectProps<T>): React.JSX.Element {
|
||||
const [activeIndex, setActiveIndex] = useState(initialIndex);
|
||||
|
||||
Reference in New Issue
Block a user