Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

refactor(ui-egui): move organize_panel.rs into panels/

aiongg946767d22d7e
diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs
index 9655af103..0d16962ae 100644
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@ -69,7 +69,6 @@ pub mod i18n;
#[cfg(not(target_arch = "wasm32"))]
mod open_worker;
-mod organize_panel;
pub mod portable;
mod recovery;
#[cfg(not(target_arch = "wasm32"))]
@@ -126,6 +125,7 @@ pub use hooks::{FailedInbox, HostDirtyFn, HostSaveFn, Inbox, OsEvent, OsEventsFn
use panels::all_tools_ui;
use panels::comments_panel;
use panels::format_text_ui;
+use panels::organize_panel;
#[cfg(test)]
use state::CopyPage;
#[cfg(not(target_arch = "wasm32"))]
diff --git a/crates/ui-egui/src/panels.rs b/crates/ui-egui/src/panels.rs
index 9124a73d3..827b1de28 100644
--- a/crates/ui-egui/src/panels.rs
+++ b/crates/ui-egui/src/panels.rs
@@ -13,6 +13,7 @@ mod bookmarks;
pub(super) mod comments_panel;
mod edit;
pub(super) mod format_text_ui;
+pub(super) mod organize_panel;
mod pages;
mod right;
mod tools;
diff --git a/crates/ui-egui/src/organize_panel.rs b/crates/ui-egui/src/panels/organize_panel.rs
similarity index 100%
rename from crates/ui-egui/src/organize_panel.rs
rename to crates/ui-egui/src/panels/organize_panel.rs