starting to add pdfviewer
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
Chris Cochrun 2025-09-12 16:40:31 -05:00
parent e98e6c7619
commit 6532666c56
3 changed files with 147 additions and 1 deletions

View file

@ -30,10 +30,11 @@ use url::Url;
use crate::{
core::{service_items::ServiceItem, slide::Slide},
ui::text_svg,
BackgroundKind,
};
use crate::ui::pdf::PdfViewer;
const REFERENCE_WIDTH: f32 = 1920.0;
const REFERENCE_HEIGHT: f32 = 1080.0;
@ -52,6 +53,7 @@ pub(crate) struct Presenter {
hovered_slide: Option<(usize, usize)>,
scroll_id: Id,
current_font: Font,
pdf_viewer: PdfViewer,
}
pub(crate) enum Action {