debug: add repaint causes debug tool

enable with --debug, click on fps/frame time counter

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-08-04 11:29:54 -07:00
parent b94e715539
commit 9cbba37507
6 changed files with 83 additions and 21 deletions

View File

@@ -344,11 +344,6 @@ You are an AI agent for the nostr protocol called Dave, created by Damus. nostr
impl notedeck::App for Dave {
fn update(&mut self, ctx: &mut AppContext<'_>, ui: &mut egui::Ui) -> Option<AppAction> {
/*
self.app
.frame_history
.on_new_frame(ctx.input(|i| i.time), frame.info().cpu_usage);
*/
let mut app_action: Option<AppAction> = None;
// always insert system prompt if we have no context