diff options
author | 2025-01-28 03:04:31 +0100 | |
---|---|---|
committer | 2025-01-28 03:04:31 +0100 | |
commit | 23d42d2827a68468bc520440c6396eb114d793bc (patch) | |
tree | 38eb7ff2549d0f6e696e6c3c90cb77bc19516f3e /core/src | |
parent | 086b06553b1b792577e9f663ae7721385696483e (diff) | |
download | iced-23d42d2827a68468bc520440c6396eb114d793bc.tar.gz iced-23d42d2827a68468bc520440c6396eb114d793bc.tar.bz2 iced-23d42d2827a68468bc520440c6396eb114d793bc.zip |
Rename `Animation::in_progress` to `is_animating`
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/animation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/animation.rs b/core/src/animation.rs index 29dacd4d..5ff31544 100644 --- a/core/src/animation.rs +++ b/core/src/animation.rs @@ -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) } |