Compare commits
No commits in common. "fa21a06856a327de2905a61a188b019dd0b98da5" and "3e6e6077d2604caab08093ab3c9df8de6b666ae3" have entirely different histories.
fa21a06856
...
3e6e6077d2
1 changed files with 2 additions and 3 deletions
|
@ -339,7 +339,7 @@ async function loadAnnotations(config) {
|
||||||
part['out'] = position + duration
|
part['out'] = position + duration
|
||||||
part.clipId = part.id.split('/')[0] + '/' + part.in.toFixed(3) + '-'+ part.out.toFixed(3)
|
part.clipId = part.id.split('/')[0] + '/' + part.in.toFixed(3) + '-'+ part.out.toFixed(3)
|
||||||
part.colorId = annotation.clipId
|
part.colorId = annotation.clipId
|
||||||
part.value = parts.shift()
|
part.value = parts.pop(0)
|
||||||
if (parts.length) {
|
if (parts.length) {
|
||||||
position = part['out']
|
position = part['out']
|
||||||
} else {
|
} else {
|
||||||
|
@ -457,8 +457,7 @@ function renderSingleMode(config) {
|
||||||
var title = document.createElement('div')
|
var title = document.createElement('div')
|
||||||
title.classList.add('title')
|
title.classList.add('title')
|
||||||
title.innerText = layer.charAt(0).toUpperCase() + layer.slice(1);
|
title.innerText = layer.charAt(0).toUpperCase() + layer.slice(1);
|
||||||
//text_layer.appendChild(title)
|
text_layer.appendChild(title)
|
||||||
|
|
||||||
config.annotations.forEach(clip => {
|
config.annotations.forEach(clip => {
|
||||||
var values = []
|
var values = []
|
||||||
clip.annotations.forEach(a => {
|
clip.annotations.forEach(a => {
|
||||||
|
|
Loading…
Reference in a new issue