mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
change progress animation time
This commit is contained in:
parent
23d999c57c
commit
9a199dc32d
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ use std::{cell::RefCell, sync::Arc, time::Duration};
|
||||||
|
|
||||||
// Progressbar animation setup
|
// Progressbar animation setup
|
||||||
const PROGRESS_ANIMATION_STEP: f64 = 0.05;
|
const PROGRESS_ANIMATION_STEP: f64 = 0.05;
|
||||||
const PROGRESS_ANIMATION_TIME: u64 = 25; //ms
|
const PROGRESS_ANIMATION_TIME: u64 = 20; //ms
|
||||||
|
|
||||||
struct Progress {
|
struct Progress {
|
||||||
fraction: RefCell<f64>,
|
fraction: RefCell<f64>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue