From 5781a93c1fddf5aa491a685d18b69e1aa50171d2 Mon Sep 17 00:00:00 2001 From: electria Date: Sat, 15 Aug 2026 18:17:49 -0700 Subject: [PATCH] fix: properly handle cpu graph widget offset --- src/app/cpu_graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cpu_graph.rs b/src/app/cpu_graph.rs index 38c76ba..6b901ca 100644 --- a/src/app/cpu_graph.rs +++ b/src/app/cpu_graph.rs @@ -31,7 +31,7 @@ impl canvas::Program for CpuGraph { bounds: iced::Rectangle, _cursor: mouse::Cursor, ) -> Vec> { - let geometry = self.cache.draw_with_bounds(renderer, bounds, |frame| { + let geometry = self.cache.draw(renderer, bounds.size(), |frame| { frame.stroke( &canvas::Path::new(|builder| { for (index, value) in self.timeline.iter().enumerate() {