From a5a2fdc1c70dff65d5abd76cc670bdc2ded9c7c0 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Fri, 27 Mar 2026 22:53:58 +0100 Subject: [PATCH] tasks: ui: make the notification blink faster --- src/tasks/ui.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tasks/ui.rs b/src/tasks/ui.rs index 3d5a7e7..86162e8 100644 --- a/src/tasks/ui.rs +++ b/src/tasks/ui.rs @@ -8,9 +8,9 @@ use log::*; use crate::{animation::{AnimatedSurface, Animation}, ego::engine::MotionState, events::{Personality, Prediction, Scene, SensorSource, SensorState}, graphics::{display::{SegmentSpace, Uniforms}, shaders::*}}; const NOTIFY_FADE_IN: Animation = Animation::new().duration(Duration::from_millis(30)) .from(Fract8::MIN).to(Fract8::MAX); -const NOTIFY_PULSE_OUT: Animation = Animation::new().duration(Duration::from_millis(100)).from(Fract8::MAX).to(Fract8::from_raw(60)); -const NOTIFY_PULSE_IN: Animation = Animation::new().duration(Duration::from_millis(100)).from(Fract8::MIN).to(Fract8::MAX); -const NOTIFY_FADE_OUT: Animation = Animation::new().duration(Duration::from_secs(2)) .from(Fract8::MAX).to(Fract8::MIN); +const NOTIFY_PULSE_OUT: Animation = Animation::new().duration(Duration::from_millis(10)).from(Fract8::MAX).to(Fract8::from_raw(60)); +const NOTIFY_PULSE_IN: Animation = Animation::new().duration(Duration::from_millis(10)).from(Fract8::MIN).to(Fract8::MAX); +const NOTIFY_FADE_OUT: Animation = Animation::new().duration(Duration::from_millis(750)) .from(Fract8::MAX).to(Fract8::MIN); const FG_FADE_OUT: Animation = Animation::new().duration(Duration::from_millis(300)).to(Fract8::MIN); const BG_FADE_IN: Animation = Animation::new().duration(Duration::from_millis(300)).to(Fract8::from_raw(128));