Merge PR #520 from NikitkaRa: Insert: Summary, Section and Slide Zoom with Return to Zoom

Fix-ups in the merge (review): zoom targets, sections and titles are looked up with get()
instead of indexing; Hyperlink literals carry both main's sound fields and zoom_return;
duplicated test statements left by the test-file union are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-14 15:58:31 -04:00
co-authored by Claude Opus 5.5
20 changed files with 458 additions and 18 deletions
+1
View File
@@ -489,6 +489,7 @@ pub fn hyperlink(imp: &mut Imp, part: &Part, h: &El) -> Option<Hyperlink> {
highlight_click: h.bool("highlightClick").unwrap_or(false),
stop_sound: h.bool("endSnd").unwrap_or(false),
sound: h.child("snd").and_then(|s| media_ref(imp, part, s)),
zoom_return: None,
})
}
+1
View File
@@ -783,6 +783,7 @@ fn media(w: &mut W, x: &mut Exp, o: &mut Out, id: u32, s: &Shape, m: &deckcraft_
highlight_click: false,
sound: None,
stop_sound: false,
zoom_return: None,
});
}
cnvpr(w, x, o, id, &s2);