From a8f808822cf44ab4657d27451b5b7dd4b04d486c Mon Sep 17 00:00:00 2001 From: cepetr Date: Thu, 6 Jun 2024 15:17:57 +0200 Subject: [PATCH] fix(core/rust): shorten the ANIM_FRAME_TIMER deadline [no changelog] --- core/embed/rust/src/ui/component/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/rust/src/ui/component/base.rs b/core/embed/rust/src/ui/component/base.rs index 6c5a1a8721..accdfa2e8f 100644 --- a/core/embed/rust/src/ui/component/base.rs +++ b/core/embed/rust/src/ui/component/base.rs @@ -535,7 +535,7 @@ impl EventCtx { pub const ANIM_FRAME_TIMER: TimerToken = TimerToken(1); /// How long into the future we should schedule the animation frame timer. - const ANIM_FRAME_DEADLINE: Duration = Duration::from_millis(18); + const ANIM_FRAME_DEADLINE: Duration = Duration::from_millis(1); // 0 == `TimerToken::INVALID`, // 1 == `Self::ANIM_FRAME_TIMER`.