refactor: Replaced all modulo usages of tick_until_poll with is_multiple_of

This commit is contained in:
2025-12-12 09:20:05 -07:00
parent ae506789ab
commit 3e133fa147
20 changed files with 26 additions and 23 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ fn draw_downloads(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
output_path.as_ref().unwrap().scroll_left_or_reset(
get_width_from_percentage(area, 18),
current_selection == *download_record,
app.tick_count % app.ticks_until_scroll == 0,
app.tick_count.is_multiple_of(app.ticks_until_scroll),
);
}