diff options
| author | Adam <[email protected]> | 2026-03-03 05:35:07 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-03-03 05:35:15 -0600 |
| commit | e4af1bb42284bc76adf54927f4b224224830f1b5 (patch) | |
| tree | dcb536b73884517ad5b78342440f31384559a93a /packages/ui/src/hooks/create-auto-scroll.tsx | |
| parent | 5e8742f4312a8923f3da92172a7247470ef34516 (diff) | |
| download | opencode-e4af1bb42284bc76adf54927f4b224224830f1b5.tar.gz opencode-e4af1bb42284bc76adf54927f4b224224830f1b5.zip | |
fix(app): timeline jank
Diffstat (limited to 'packages/ui/src/hooks/create-auto-scroll.tsx')
| -rw-r--r-- | packages/ui/src/hooks/create-auto-scroll.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ui/src/hooks/create-auto-scroll.tsx b/packages/ui/src/hooks/create-auto-scroll.tsx index 8483915a8..d67b1f31f 100644 --- a/packages/ui/src/hooks/create-auto-scroll.tsx +++ b/packages/ui/src/hooks/create-auto-scroll.tsx @@ -48,14 +48,14 @@ export function createAutoScroll(options: AutoScrollOptions) { autoTimer = setTimeout(() => { auto = undefined autoTimer = undefined - }, 250) + }, 1500) } const isAuto = (el: HTMLElement) => { const a = auto if (!a) return false - if (Date.now() - a.time > 250) { + if (Date.now() - a.time > 1500) { auto = undefined return false } |
