';
+ + '" placeholder="For example: his left hand stays in his jacket pocket the whole time.">'
+ + ((s.audio || []).some(function (a) { return a.lip_sync; })
+ ? '' : '')
+ + '';
}
// Several versions of one picture, best first, each with what the checker
@@ -1759,6 +1768,16 @@
}, 700);
});
+ document.getElementById("pane").addEventListener("change", async function (e) {
+ var el = e.target;
+ var asid = el.getAttribute && el.getAttribute("data-audiomode");
+ if (!asid) return;
+ var inp = document.querySelector('[data-filmnote="' + asid + '"]');
+ var r = await api("set_film_note", { draft_id: CUR, shot_id: asid, note: inp ? inp.value : "", audio_mode: el.value });
+ if (r.ok) { (PKG.shots || []).forEach(function (x) { if (String(x.id) === asid) x.audio_mode = el.value; });
+ showMsg("msg", "Saved. Press “Film it again” to hear the difference.", "ok"); }
+ });
+
var noteTimers = {};
document.getElementById("pane").addEventListener("input", function (e) {
var ta = e.target;