From ded9d3905494ae2372c40d6a2cf44ee6237877d6 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 6 Oct 2022 10:55:37 +0100 Subject: [PATCH] Add short inline delay example --- docs/guide/animator.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/animator.md b/docs/guide/animator.md index 404c215f6..bf8c34724 100644 --- a/docs/guide/animator.md +++ b/docs/guide/animator.md @@ -106,5 +106,5 @@ If the callback passed to `on_complete` is awaitable, then Textual will await it You can delay the start of an animation using the `delay` parameter of the `animate` method. This parameter accepts a `float` value representing the number of seconds to delay the animation by. -For example, `self.box.styles.animate("opacity", value=0.0, duration=2.0, delay=5.0)` would delay the start of the animation by five seconds, -meaning the total duration between making the call and the animation completing would be seven seconds. +For example, `self.box.styles.animate("opacity", value=0.0, duration=2.0, delay=5.0)` delays the start of the animation by five seconds, +meaning the total duration between making the call to `animate` and the animation completing is seven seconds.