From efb94a4154f5226080dec4bd3a019f2773a57a6a Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Thu, 11 Jun 2026 14:21:52 +0300 Subject: [PATCH] Fix timeline notice dismiss not updating the UI. Include notice in the timeline view fingerprint so clearNotice triggers a re-render. --- movie_editor/frontend/timeline.js | 2 +- movie_editor/frontend/view_bus.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/movie_editor/frontend/timeline.js b/movie_editor/frontend/timeline.js index 4f43866c..76cf8762 100644 --- a/movie_editor/frontend/timeline.js +++ b/movie_editor/frontend/timeline.js @@ -1039,7 +1039,7 @@ const note = el("span", "tl-notice", st.notice); const dismiss = el("button", "tl-notice-dismiss", "✕"); dismiss.title = "Dismiss"; - dismiss.onclick = () => S.clearNotice(); + dismiss.onclick = (e) => { e.stopPropagation(); S.clearNotice(); }; note.append(dismiss); meta.append(note); } diff --git a/movie_editor/frontend/view_bus.js b/movie_editor/frontend/view_bus.js index 4e54a317..65d9ac34 100644 --- a/movie_editor/frontend/view_bus.js +++ b/movie_editor/frontend/view_bus.js @@ -21,6 +21,7 @@ keepAud: p.keep_original_audio, gen: st.gen?.state, labels: (st.ratingLabels || []).length, + notice: st.notice || "", }); }