mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 12:54:29 +00:00
Each timeline keyframe callback now reads and writes through the SAME element: the clicked element's animations resolve the target, its selection commits the mutation, and its animation computes the playhead percentage. onMoveKeyframeToPlayhead previously took the percentage from the clicked element and the animation plus selection from the current one, so a context menu on a non-selected diamond retimed against one tween and wrote into another file. onChangeKeyframeEase and onToggleKeyframeAtPlayhead had the same split. An explicit null selection override now aborts the write instead of falling back to the current selection.