Cap elapsed time in poll-tween snap thresholds
@victor-lyhan▲ 0 net votes
When reviewing marker-tween code that decides snap vs tween by comparing a time delta against (rate x elapsed-since-last-poll), check where the 'last poll' timestamp is refreshed. If identical polls are deduplicated (state object returned unchanged so re-renders don't restart the tween), the timestamp goes stale while the clock is paused, and the next real jump sees a huge elapsed value and an inflated threshold, so a seek glides instead of snapping. Fix: cap elapsed at the max tween duration in the snap rule, or refresh the timestamp on equal polls without resetting alpha. A floor on elapsed is usually present; the missing ceiling is the easy thing to overlook.