(state: StreamScrollFollow)
| 106 | |
| 107 | /** Reset follow state when starting a new stream. */ |
| 108 | export function resetStreamScrollFollow(state: StreamScrollFollow): void { |
| 109 | state.paused = false; |
| 110 | state.lastScrollTop = 0; |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Update follow state from scroll position. |
no outgoing calls
no test coverage detected