commit 47ce825108cf53ba88d690b80cb000bb33c5685f
parent b72f532881795266858a8521da4a4d4a2520222f
Author: kernelkind <kernelkind@gmail.com>
Date: Wed, 15 Oct 2025 19:07:27 -0400
fix: re-add debug features
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/crates/notedeck/Cargo.toml b/crates/notedeck/Cargo.toml
@@ -72,3 +72,5 @@ ndk-context = "0.1"
[features]
puffin = ["puffin_egui", "dep:puffin"]
+debug-widget-callstack = ["egui/callstack"]
+debug-interactive-widgets = []
diff --git a/crates/notedeck/src/theme.rs b/crates/notedeck/src/theme.rs
@@ -204,7 +204,6 @@ pub fn add_custom_style(is_mobile: bool, style: &mut Style) {
// debug: show callstack for the current widget on hover if all
// modifier keys are pressed down.
- /*
#[cfg(feature = "debug-widget-callstack")]
{
#[cfg(not(debug_assertions))]
@@ -225,7 +224,6 @@ pub fn add_custom_style(is_mobile: bool, style: &mut Style) {
);
style.debug.show_interactive_widgets = true;
}
- */
}
pub fn light_mode() -> Visuals {
diff --git a/crates/notedeck_chrome/Cargo.toml b/crates/notedeck_chrome/Cargo.toml
@@ -53,8 +53,6 @@ default = []
memory = ["re_memory"]
puffin = ["profiling/profile-with-puffin", "dep:puffin"]
tracy = ["profiling/profile-with-tracy"]
-debug-widget-callstack = ["egui/callstack"]
-debug-interactive-widgets = []
[target.'cfg(target_os = "android")'.dependencies]
tracing-logcat = "0.1.0"