Rename Animation::in_progress to is_animating
This commit is contained in:
parent
086b06553b
commit
23d42d2827
2 changed files with 30 additions and 27 deletions
|
|
@ -81,7 +81,7 @@ where
|
|||
/// Returns true if the [`Animation`] is currently in progress.
|
||||
///
|
||||
/// An [`Animation`] is in progress when it is transitioning to a different state.
|
||||
pub fn in_progress(&self, at: Instant) -> bool {
|
||||
pub fn is_animating(&self, at: Instant) -> bool {
|
||||
self.raw.in_progress(at)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue