Forms: doc comments for the functions this change touches

This commit is contained in:
Eric Kaden
2026-10-19 23:42:37 -04:00
parent 0d0cce1bb0
commit 77eb328c83
+2
View File
@@ -2365,6 +2365,8 @@ fn page_scroll<R>(
ui.scope_builder(egui::UiBuilder::new().id(id), |ui| scroll.show_viewport(ui, draw)).inner
}
/// Draws the document tab at `index`: its notice bars, then its pages (or the Organize grid) in a
/// scroll area with this frame's zoom, scrolling, tool input, overlays and render requests.
pub fn document_area(app: &mut PdfCraftApp, index: usize, ui: &mut egui::Ui) {
let t = Tokens::get(ui.ctx());
// Keyboard scrolling applies to this frame's page view only, never later.