Skip to content

Commit 09a3b7d

Browse files
feat: Invert scroll arrow default in RadioButtonSelect (google-gemini#4006)
1 parent 26a79fe commit 09a3b7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli/src/ui/components/ThemeDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ export function ThemeDialog({
203203
onHighlight={onHighlight}
204204
isFocused={currenFocusedSection === 'theme'}
205205
maxItemsToShow={8}
206+
showScrollArrows={true}
206207
/>
207208

208209
{/* Scope Selection */}
@@ -217,7 +218,6 @@ export function ThemeDialog({
217218
onSelect={handleScopeSelect}
218219
onHighlight={handleScopeHighlight}
219220
isFocused={currenFocusedSection === 'scope'}
220-
showScrollArrows={false}
221221
/>
222222
</Box>
223223
)}

packages/cli/src/ui/components/shared/RadioButtonSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function RadioButtonSelect<T>({
5353
onSelect,
5454
onHighlight,
5555
isFocused,
56-
showScrollArrows = true,
56+
showScrollArrows = false,
5757
maxItemsToShow = 10,
5858
}: RadioButtonSelectProps<T>): React.JSX.Element {
5959
const [activeIndex, setActiveIndex] = useState(initialIndex);

0 commit comments

Comments
 (0)