fix(app): timeline jank

This commit is contained in:
Adam
2026-03-03 05:35:07 -06:00
parent 5e8742f431
commit e4af1bb422
3 changed files with 62 additions and 54 deletions

View File

@@ -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
}