Skip to content

fix(nowplaying): show the card while the timeline is paused - #1275

Merged
CaYatur merged 2 commits into
mainfrom
fix/timeline-nowplaying-paused
Dec 2, 2026
Merged

CaYatur merged 2 commits into
mainfrom
fix/timeline-nowplaying-paused

Conversation

@CaYatur

@CaYatur CaYatur commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Problem

With a Now Playing layer in a timeline scene, the card stayed invisible until the timeline moved, even with "show when nothing is playing" on.

Cause

The card timed its intro animation from the frame clock t. In the timeline composition t is the show time, which freezes on pause and goes backwards on rewind. The intro stayed on its first, transparent frame.

Fix

  • modes/nowplaying.js: the card keeps its own clock from summed frame durations. Export still advances one video frame per frame.
  • admin/timeline-audio.js: an enabled timeline with a paused playhead over an audio clip reports that clip (playing: false). A disabled timeline does not cover the system track.

Tests

  • New tests for frozen and rewinding t, the paused timeline report, and the disabled timeline. The first two fail on the old code.
  • The parity envelope test now steps frame by frame, like export.
  • Full suite: 4937 tests, 0 failures.

CaYatur and others added 2 commits December 2, 2026 13:37
The Now Playing card timed its intro animation from the frame clock t. In the timeline composition t is the show time: it freezes on pause and goes backwards on rewind, so the card stayed on the first, transparent intro frame until playback moved. This also hid the placeholder. The card now keeps its own clock from summed frame durations; export is unchanged (dt is one video frame there).

An enabled timeline also reports the clip under a paused playhead (playing: false), so the card keeps showing the timeline's track.

Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.com>
…bing backwards

A backwards step rebuilds every clip's layer stack. The Now Playing card restarted its entrance animation and images reloaded on each step, so both stayed invisible while dragging back. Their state is now carried to the new stack, like video players already were; particles, envelopes and modulation still rebuild.

'Show on change' with the default (null) durations read them as 0 and withdrew the card after a tenth of a second; null now falls back to the speed preset.

Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.com>
@CaYatur
CaYatur merged commit e4dde9a into main Dec 2, 2026
1 of 5 checks passed
@CaYatur
CaYatur deleted the fix/timeline-nowplaying-paused branch December 2, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant