features ui debug is now working perfectly well, it debugs the rerender flags

This commit is contained in:
filipriec
2025-06-08 09:26:56 +02:00
parent f9841f2ef3
commit e61cbb3956
5 changed files with 65 additions and 19 deletions

View File

@@ -44,6 +44,9 @@ pub struct AppState {
// UI preferences
pub ui: UiState,
#[cfg(feature = "ui-debug")]
pub debug_info: String,
}
impl AppState {
@@ -61,6 +64,9 @@ impl AppState {
focused_button_index: 0,
pending_table_structure_fetch: None,
ui: UiState::default(),
#[cfg(feature = "ui-debug")]
debug_info: String::new(),
})
}