diff --git a/trailer.html b/trailer.html index b191263..f413285 100644 --- a/trailer.html +++ b/trailer.html @@ -1193,9 +1193,14 @@ + '
' + esc(who.name || a.character_id) + ' ' + (a.lip_sync ? 'on camera' : 'voice over') + '
' + esc(a.text || "") - + '
change the words' + + '
change the words or when they are said' + '' - + '
' + + (a.lip_sync ? '' : '') + + '
' + (a.delivery ? '
' + esc(a.delivery) + '' : '') + '
'; }).join(""); @@ -1528,7 +1533,9 @@ var lk = el.getAttribute("data-lineset"), lp = lk.split("|"); var lin = document.querySelector('[data-linetext="' + lk + '"]'); el.disabled = true; - r = await act("set_line", { draft_id: CUR, shot_id: lp[0], index: Number(lp[1]), text: lin ? lin.value : "" }); + var lwh = document.querySelector('[data-linewhen="' + lk + '"]'); + r = await act("set_line", { draft_id: CUR, shot_id: lp[0], index: Number(lp[1]), text: lin ? lin.value : "", + say_at: lwh ? lwh.value : "" }); if (r) { showMsg("msg", "Saved. The voice will be recorded again with the new words the next time it is played or filmed.", "ok"); await refresh(); } return; }