mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 04:22:38 +01:00
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:
1 parent
4737a02bba
commit
0971a039ed
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user