mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Housekeeping.
This commit is contained in:
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
### Added
|
||||
|
||||
- Added the coroutines `Animator.wait_for_fully_idle` and `pilot.wait_for_scheduled_animations` that allow waiting for all current and scheduled animations https://github.com/Textualize/textual/issues/1658
|
||||
- Added the method `Animator.is_being_animated` that checks if an attribute of an object is being animated or is scheduled for animation
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ async def test_reverse_animations() -> None:
|
||||
await pilot.wait_for_animation()
|
||||
assert styles.background.rgb == (0, 0, 0)
|
||||
|
||||
# Now, the actual test is to make sure we go back to black if scheduling both at once.
|
||||
# Now, the actual test is to make sure we go back to black if creating both at once.
|
||||
styles.animate("background", "white", duration=0.01)
|
||||
styles.animate("background", "black", duration=0.01)
|
||||
await pilot.wait_for_animation()
|
||||
|
||||
Reference in New Issue
Block a user