mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 00:44:18 +01:00
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:
@@ -1,6 +1,6 @@
|
||||
use egui::{vec2, Pos2, Rect};
|
||||
|
||||
/*
|
||||
fn debug_slider(
|
||||
pub fn debug_slider(
|
||||
ui: &mut egui::Ui,
|
||||
id: egui::Id,
|
||||
point: Pos2,
|
||||
@@ -22,5 +22,3 @@ fn debug_slider(
|
||||
|
||||
val
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -3,6 +3,7 @@ pub mod app_images;
|
||||
pub mod colors;
|
||||
pub mod constants;
|
||||
pub mod context_menu;
|
||||
pub mod debug;
|
||||
pub mod icons;
|
||||
pub mod images;
|
||||
pub mod media;
|
||||
@@ -14,6 +15,7 @@ mod username;
|
||||
pub mod widgets;
|
||||
|
||||
pub use anim::{AnimationHelper, PulseAlpha};
|
||||
pub use debug::debug_slider;
|
||||
pub use icons::{expanding_button, ICON_EXPANSION_MULTIPLE, ICON_WIDTH};
|
||||
pub use mention::Mention;
|
||||
pub use note::{NoteContents, NoteOptions, NoteView};
|
||||
|
||||
Reference in New Issue
Block a user