From fa0284f1650ddd757994ea13ae0c7b77961d7ff2 Mon Sep 17 00:00:00 2001 From: electria Date: Sat, 15 Aug 2026 19:08:05 -0700 Subject: [PATCH] feat: half the history this should probably be dynamic (based on screen space).... somehow.... --- src/app/graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/graph.rs b/src/app/graph.rs index c16fe56..9ae9c10 100644 --- a/src/app/graph.rs +++ b/src/app/graph.rs @@ -27,7 +27,7 @@ impl Graph { pub fn update(&mut self, value: f32) { self.timeline.push_back(value); - if self.timeline.len() > 1000 { + if self.timeline.len() > 500 { self.timeline.pop_front(); } }