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:
@@ -23,3 +23,4 @@ rand = "0.9.0"
|
||||
bytemuck = "1.22.0"
|
||||
futures = "0.3.31"
|
||||
#reqwest = "0.12.15"
|
||||
egui_extras = { workspace = true }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user