refactor(lightcraft-ui-egui): move date_picker.rs to widgets/date_picker.rs

This commit is contained in:
aiongg
2026-10-26 20:41:12 +00:00
parent 6ea7f1dc55
commit 2a4bd99a4d
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,6 @@ pub mod button;
pub mod canvas_keys;
mod command_error;
pub mod control;
pub mod date_picker;
pub mod dialogs;
pub mod docking;
mod drop_overlay;
@@ -67,6 +66,7 @@ pub use menus::menu_level;
pub use menus::menubar;
pub use state::UiState;
pub use widgets::album_picker;
pub use widgets::date_picker;
const TOAST_SECONDS: f64 = 1.4;
/// The `path` of a display profile read from the screen rather than chosen as a file.
+2 -1
View File
@@ -1111,10 +1111,11 @@ pub(crate) fn elide_head(text: &str, max: f32, width: impl Fn(&str) -> f32) -> S
"…".to_string()
}
pub mod album_picker;
pub mod date_picker;
#[cfg(test)]
#[path = "widgets/tests_numeric_entry.rs"]
mod numeric_entry_tests;
pub mod album_picker;
#[cfg(test)]
#[path = "widgets/tests_slider_reset.rs"]