diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rs index 1da9c86cb..4d15a2a9e 100644 --- a/crates/ui-egui/src/canvas.rs +++ b/crates/ui-egui/src/canvas.rs @@ -27,6 +27,7 @@ pub(super) mod image_pick; mod navigation; mod organize; pub(super) mod page_pointer; +pub mod scroll_speed; mod selection; mod xform; mod zoom; diff --git a/crates/ui-egui/src/scroll_speed.rs b/crates/ui-egui/src/canvas/scroll_speed.rs similarity index 100% rename from crates/ui-egui/src/scroll_speed.rs rename to crates/ui-egui/src/canvas/scroll_speed.rs diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs index 800d7f2b7..7d9f7b982 100644 --- a/crates/ui-egui/src/lib.rs +++ b/crates/ui-egui/src/lib.rs @@ -118,7 +118,6 @@ mod organize_panel; pub mod portable; mod protect; mod recovery; -pub mod scroll_speed; #[cfg(not(target_arch = "wasm32"))] mod system_fonts; mod tab_context; @@ -155,6 +154,7 @@ use canvas::crop; use canvas::fling; use canvas::image_pick; use canvas::page_pointer; +pub use canvas::scroll_speed; pub use hooks::{FailedInbox, HostDirtyFn, HostSaveFn, Inbox, OsEvent, OsEventsFn}; #[cfg(test)] use state::CopyPage;