This commit is contained in:
parent
e98e6c7619
commit
6532666c56
3 changed files with 147 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue