notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 9ccbaf2db8721331b49c975118168a23e7b57d0f
parent 88e641525364d7d9756c81683fdd53ffca9b6181
Author: kernelkind <kernelkind@gmail.com>
Date:   Sun, 19 Oct 2025 20:21:18 -0400

chore(tracy): repaint every frame

since we stop rendering when there is no user input, tracy sees
big hangs, and it's annoying to parse through which frames are
actual performance issues and which are due to no user input.

So just repaint every frame while using tracy.

Signed-off-by: kernelkind <kernelkind@gmail.com>

Diffstat:
Mcrates/notedeck_chrome/src/chrome.rs | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/crates/notedeck_chrome/src/chrome.rs b/crates/notedeck_chrome/src/chrome.rs @@ -345,6 +345,11 @@ impl Chrome { impl notedeck::App for Chrome { fn update(&mut self, ctx: &mut notedeck::AppContext, ui: &mut egui::Ui) -> AppResponse { + #[cfg(feature = "tracy")] + { + ui.ctx().request_repaint(); + } + if let Some(action) = self.show(ctx, ui) { action.process(ctx, self, ui); self.nav.close();