mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
This commit is contained in:
parent
8105f186dc
commit
225b72ca36
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
|
|||
let next = store.selected + direction
|
||||
if (next < 0) next = flat().length - 1
|
||||
if (next >= flat().length) next = 0
|
||||
moveTo(next)
|
||||
moveTo(next, true)
|
||||
}
|
||||
|
||||
function moveTo(next: number, center = false) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue