mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 00:54:21 +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};
|
||||||
|
|
||||||
/*
|
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
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
@@ -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};
|
||||||
|
|||||||
Reference in New Issue
Block a user