Fix doc for Timer::percent_left (#6198)
# Objective - Fix a mistake in documentation.
This commit is contained in:
parent
6b75589e2c
commit
cf86f275a9
@ -328,7 +328,7 @@ impl Timer {
|
||||
self.elapsed().as_secs_f32() / self.duration().as_secs_f32()
|
||||
}
|
||||
|
||||
/// Returns the percentage of the timer remaining time (goes from 0.0 to 1.0).
|
||||
/// Returns the percentage of the timer remaining time (goes from 1.0 to 0.0).
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user