change progress animation time

This commit is contained in:
yggverse 2024-09-30 01:44:15 +03:00
parent 23d999c57c
commit 9a199dc32d

View File

@ -9,7 +9,7 @@ use std::{cell::RefCell, sync::Arc, time::Duration};
// Progressbar animation setup
const PROGRESS_ANIMATION_STEP: f64 = 0.05;
const PROGRESS_ANIMATION_TIME: u64 = 25; //ms
const PROGRESS_ANIMATION_TIME: u64 = 20; //ms
struct Progress {
fraction: RefCell<f64>,