Skip to content

Commit

Permalink
Merge pull request #5926 from avalonmediasystem/scoped_timeline
Browse files Browse the repository at this point in the history
Set timelines without structure from full length of item
  • Loading branch information
Jon Cameron authored Jul 12, 2024
2 parents cec7551 + feb54f8 commit 003b260
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/assets/javascripts/ramp_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ function getTimelineScopes() {
}

let parent = currentStructureItem.closest('ul').closest('li');
if (parent.length === 0) {
let begin = 0;
let end = activeItem.times.end;
scopes[0].times = { begin: 0, end: end }
}
while (parent.length > 0) {
let next = parent.closest('ul').closest('li');
let begin = 0;
Expand Down

0 comments on commit 003b260

Please sign in to comment.