mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
The session header, Jump to latest, the scrollbar's thumb and the desktop window's drag area lie over the timeline, outside its scroll element. For a wheel over them the browser goes by the layers it composites, not by the element under the pointer: it scrolled the timeline while the rows were text, and nothing once a row held a scroller of its own, such as a shell's output. An upward wheel that moved nothing still stopped the timeline from following. - handleOverWheel takes that wheel from the browser and scrolls the timeline by the wheel's distance, once. Its listener is not passive, so it is on those elements only: over the rows the browser still does not wait for the page. - The thumb of ScrollView does the same for its viewport. - A wheel with the control key zooms. It sends no intent and ends no seek. - A wheel over a marked box that holds all of its content, or one at a scroller's limit, ends a seek as a wheel over the rows does. |
||
|---|---|---|
| .. | ||
| perf | ||
| script | ||
| src | ||
| test | ||
| .gitignore | ||
| AGENTS.md | ||
| bunfig.toml | ||
| LICENSE | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vite.config.ts | ||