Repository navigation
fix(nowplaying): show the card while the timeline is paused - #1275
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 compositiontis 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
t, the paused timeline report, and the disabled timeline. The first two fail on the old code.