Compare commits

...

2 commits

Author SHA1 Message Date
j
fa21a06856 remove title 2023-05-15 21:01:31 +01:00
j
02309f4b3f fix order 2023-05-15 21:01:15 +01:00

View file

@ -339,7 +339,7 @@ async function loadAnnotations(config) {
part['out'] = position + duration
part.clipId = part.id.split('/')[0] + '/' + part.in.toFixed(3) + '-'+ part.out.toFixed(3)
part.colorId = annotation.clipId
part.value = parts.pop(0)
part.value = parts.shift()
if (parts.length) {
position = part['out']
} else {
@ -457,7 +457,8 @@ function renderSingleMode(config) {
var title = document.createElement('div')
title.classList.add('title')
title.innerText = layer.charAt(0).toUpperCase() + layer.slice(1);
text_layer.appendChild(title)
//text_layer.appendChild(title)
config.annotations.forEach(clip => {
var values = []
clip.annotations.forEach(a => {