fix: change MIN_ANIMATION_HEIGHT so show_animation is calculated correctly (#3656)

Reported height was `20` instead of `21`, so `area.height >=
MIN_ANIMATION_HEIGHT` was `false` and therefore `show_animation` was
`false`, so the animation never displayed.
This commit is contained in:
Michael Bolin
2025-09-15 10:02:53 -07:00
committed by GitHub
parent 5c583fe89b
commit 0de154194d

View File

@@ -17,7 +17,7 @@ use std::time::Duration;
use std::time::Instant;
const FRAME_TICK: Duration = FRAME_TICK_DEFAULT;
const MIN_ANIMATION_HEIGHT: u16 = 21;
const MIN_ANIMATION_HEIGHT: u16 = 20;
const MIN_ANIMATION_WIDTH: u16 = 60;
pub(crate) struct WelcomeWidget {