You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove `TweeningType` and split its functionalities between a new `RepeatCount`
controlling the number of repeats of an animation on one hand, and
`RepeatStrategy` controlling the way an animation restarts after a loop ended
on the other hand. This allows more granular control on the type of playback.
Remove the `tweening_type` parameter from `Tween<T>::new()` and replace it with
builder methods `with_repeat_count()` and `with_repeat_strategy()`.
Remove `is_looping()` from all tweenables, which was not implemented for most
of them anyway.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
### Added
9
9
10
-
- Add `is_forward()` and `is_backward()` convenience helpers to `TweeningDirection`.
11
-
- Add `Tween::set_direction()` and `Tween::with_direction()` which allow configuring the playback direction of a tween, allowing to play it backward from end to start.
12
-
- Support dynamically changing an animation's speed with `Animator::set_speed`
13
-
- Add `AnimationSystem` label to tweening tick systems
14
-
- A `BoxedTweenable` type to make working with `Box<dyn Tweenable + ...>` easier
10
+
- Added `is_forward()` and `is_backward()` convenience helpers to `TweeningDirection`.
11
+
- Added `Tween::set_direction()` and `Tween::with_direction()` which allow configuring the playback direction of a tween, allowing to play it backward from end to start.
12
+
- Added support for dynamically changing an animation's speed with `Animator::set_speed`.
13
+
- Added `AnimationSystem` label to tweening tick systems.
14
+
- Added `BoxedTweenable` type to make working with `Box<dyn Tweenable + ...>` easier.
15
+
- Added `RepeatCount` and `RepeatStrategy` for more granular control over animation looping.
16
+
- Added `with_repeat_count()` and `with_repeat_strategy()` builder methods to `Tween<T>`.
15
17
16
18
### Changed
17
19
18
-
- Double boxing in `Sequence` and `Tracks` was fixed. As a result, any custom tweenables
20
+
- Double boxing in `Sequence` and `Tracks` was fixed. As a result, any custom tweenables.
19
21
should implement `From` for `BoxedTweenable` to make those APIs easier to use.
22
+
- Removed the `tweening_type` parameter from the signature of `Tween<T>::new()`; use `with_repeat_count()` and `with_repeat_strategy()` instead.
23
+
24
+
### Removed
25
+
26
+
- Removed `Tweenable::is_looping()`, which was not implemented for most tweenables.
27
+
- Removed `TweeningType` in favor of `RepeatCount` and `RepeatStrategy`.
0 commit comments