From c558ee54acc02ed0cd4e7ac3418ddb58ccf19d93 Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 26 Oct 2026 20:14:46 +0000 Subject: [PATCH] refactor(ui-egui): move scroll_speed.rs into canvas/ --- crates/ui-egui/src/canvas.rs | 1 + crates/ui-egui/src/{ => canvas}/scroll_speed.rs | 0 crates/ui-egui/src/lib.rs | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) rename crates/ui-egui/src/{ => canvas}/scroll_speed.rs (100%) 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;