Merge pull request #2617 from tvolk131/fix_circular_progress_skipping
fix: circular progress no longer skips
This commit is contained in:
commit
e086c19a06
1 changed files with 2 additions and 2 deletions
|
|
@ -139,8 +139,8 @@ impl Animation {
|
|||
progress: 0.0,
|
||||
rotation: rotation.wrapping_add(
|
||||
BASE_ROTATION_SPEED.wrapping_add(
|
||||
(f64::from(WRAP_ANGLE / (2.0 * Radians::PI)) * f64::MAX)
|
||||
as u32,
|
||||
(f64::from(WRAP_ANGLE / (2.0 * Radians::PI))
|
||||
* u32::MAX as f64) as u32,
|
||||
),
|
||||
),
|
||||
last: now,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue