mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
startScrollLock calls stopScrollLock at the top as a reset. I had clearScrollY() inside stopScrollLock, so every Go sequence was: writeScrollY(6749.5) → startScrollLock → stopScrollLock → clearScrollY — the persisted value was wiped right after being written, so resume after reload read null and locked to 0. Move clearScrollY to the three genuine session-end sites (hideBar error path, confirmed/accept, cleanup/discard). stopScrollLock no longer touches persistent storage. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>