refactor: drive the spinner by time instead of frame count

This commit is contained in:
Willem Vanhulle committed 2026-10-21 12:49:33 +02:00
1 parent a82cca2857
commit 3fbc2a7c78
7 files changed
+25 -18

No files matched your search

-2
View File
@@ -61,7 +61,6 @@ pub struct BootView<'a> {
pub glyphs: &'a Glyphs,
pub now: Duration,
pub origin: &'a BootOrigin,
pub frame: u64,
pub password_prompt: Option<PasswordPrompt<'a>>,
}
@@ -149,7 +148,6 @@ impl Widget for BootView<'_> {
hidden: pending_count - shown_units(&rows),
now: self.now,
hide_runs_shorter_than: self.timing.hide_runs_shorter_than,
frame: self.frame,
colors: &self.colors.tree,
glyphs: self.glyphs,
};