PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
refactor(ui-egui): move comments_panel.rs into panels/
aiongg604ad52c7d2c
diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rsindex aeadfd6ea..005044693 100644--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@ -30,7 +30,6 @@ mod chrome;pub use combine_grid::ThumbState as CombineThumb;pub use combine_ui::{Columns as CombineColumns, CombineView, Lock as CombineLock, SortKey};mod commands;-mod comments_panel;pub mod control;mod drag_pointer;#[cfg(target_os = "macos")]@@ -126,6 +125,7 @@ use dialogs::standards_ui;use dialogs::word_count_ui;pub use hooks::{FailedInbox, HostDirtyFn, HostSaveFn, Inbox, OsEvent, OsEventsFn};use panels::all_tools_ui;+use panels::comments_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.rsindex b186eb690..ae5b17a02 100644--- a/crates/ui-egui/src/panels.rs+++ b/crates/ui-egui/src/panels.rs@@ -10,6 +10,7 @@ use crate::{LeftPanel, PdfCraftApp, RightPanel, icons, widgets};pub(super) mod all_tools_ui;mod bookmarks;+pub(super) mod comments_panel;mod edit;mod pages;mod right;diff --git a/crates/ui-egui/src/comments_panel.rs b/crates/ui-egui/src/panels/comments_panel.rssimilarity index 100%rename from crates/ui-egui/src/comments_panel.rsrename to crates/ui-egui/src/panels/comments_panel.rs