PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
refactor(ui-egui): move wheel_boost.rs into canvas/
aiongg8a7242848a8c
diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rsindex 311ca621b..7fa55ec50 100644--- a/crates/ui-egui/src/canvas.rs+++ b/crates/ui-egui/src/canvas.rs@@ -30,6 +30,7 @@ pub(super) mod page_pointer;pub mod scroll_speed;mod selection;pub(super) mod signature_drag;+pub(super) mod wheel_boost;mod xform;mod zoom;diff --git a/crates/ui-egui/src/wheel_boost.rs b/crates/ui-egui/src/canvas/wheel_boost.rssimilarity index 100%rename from crates/ui-egui/src/wheel_boost.rsrename to crates/ui-egui/src/canvas/wheel_boost.rsdiff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rsindex 081d9232c..073228fee 100644--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@ -123,7 +123,6 @@ mod tab_context;pub mod theme;pub mod ui_scale;pub mod updates;-mod wheel_boost;mod wheel_pager;mod widgets;pub mod window_controls;@@ -155,6 +154,7 @@ use canvas::image_pick;use canvas::page_pointer;pub use canvas::scroll_speed;use canvas::signature_drag;+use canvas::wheel_boost;pub use hooks::{FailedInbox, HostDirtyFn, HostSaveFn, Inbox, OsEvent, OsEventsFn};#[cfg(test)]use state::CopyPage;