pdf-workflows-w3: story captions are 'static, as Label takes them (lead, compile)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dylan M. TaylorandClaude Opus 5.5 committed 2026-11-18 08:12:51 -05:00
1 parent 4737a02bba
commit 0971a039ed
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ use egui::Ui;
/// Pages in each half's document: enough to scroll.
const PAGES: usize = 4;
fn pair(ui: &mut Ui, data: &mut StoryData, captions: Option<(&str, &str)>) -> StoryOutput {
fn pair(ui: &mut Ui, data: &mut StoryData, captions: Option<(&'static str, &'static str)>) -> StoryOutput {
let (state, left, right) = data.value("pair", (SyncedViewsState::default(), PageViewState::default(), PageViewState::default()));
let pages = DemoPages::new(PAGES);
let mut views = SyncedViews::new("Compare", state);