feat: half the history

this should probably be dynamic (based on screen space).... somehow....
This commit is contained in:
electria 2026-08-15 19:08:05 -07:00
commit fa0284f165
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs

View file

@ -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();
}
}