diff --git a/docs/guide/reactivity.md b/docs/guide/reactivity.md index 15f989a5d..93cd11f08 100644 --- a/docs/guide/reactivity.md +++ b/docs/guide/reactivity.md @@ -287,7 +287,7 @@ First a version *without* recompose: ``` This displays a clock which updates once a second. -The code is quite straightforward, but note how we format the time in two places: `compose()` *and* `watch_time()`. +The code is straightforward, but note how we format the time in two places: `compose()` *and* `watch_time()`. We can simplify this by recomposing rather than refreshing: === "recompose02.py" diff --git a/src/textual/app.py b/src/textual/app.py index 6ad708c09..7dc99303f 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -2649,7 +2649,7 @@ class App(Generic[ReturnType], DOMNode): return self if self._screen_stack: - self.screen.refresh(repaint=repaint and not recompose, layout=layout) + self.screen.refresh(repaint=repaint, layout=layout) self.check_idle() return self