ui: move debug slider to ui crate

might use this outside of notebook

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-11-06 19:07:08 -08:00
parent ca9e6c5aaf
commit 635d2164bb
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
use egui::{vec2, Pos2, Rect};
/* pub fn debug_slider(
fn debug_slider(
ui: &mut egui::Ui, ui: &mut egui::Ui,
id: egui::Id, id: egui::Id,
point: Pos2, point: Pos2,
@@ -22,5 +22,3 @@ fn debug_slider(
val val
} }
*/

View File

@@ -3,6 +3,7 @@ pub mod app_images;
pub mod colors; pub mod colors;
pub mod constants; pub mod constants;
pub mod context_menu; pub mod context_menu;
pub mod debug;
pub mod icons; pub mod icons;
pub mod images; pub mod images;
pub mod media; pub mod media;
@@ -14,6 +15,7 @@ mod username;
pub mod widgets; pub mod widgets;
pub use anim::{AnimationHelper, PulseAlpha}; pub use anim::{AnimationHelper, PulseAlpha};
pub use debug::debug_slider;
pub use icons::{expanding_button, ICON_EXPANSION_MULTIPLE, ICON_WIDTH}; pub use icons::{expanding_button, ICON_EXPANSION_MULTIPLE, ICON_WIDTH};
pub use mention::Mention; pub use mention::Mention;
pub use note::{NoteContents, NoteOptions, NoteView}; pub use note::{NoteContents, NoteOptions, NoteView};