The first frame of a zoom animation moves the view (#319)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
animateView took its progress from the frame timestamp. Input is handled at the start of a frame, after that frame's timestamp, so on a busy page the first tick saw no time pass: it redrew the unchanged view at full cost, and the zoom showed a frame late. With a 4× slowed CPU the next frame came after the whole 220 ms animation, so keyboard zoom paid two full renders before anything moved. The first frame now advances at least one frame interval. A browser check shifts frame timestamps back to force the case and requires the first frame after + or - to show a new view; it fails without the fix. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/0bdb6ed1922822c89760cdbe9324ac10ec169394
Related
Open The first frame of a zoom animation moves the view (#319) in the timeline