Skip to content

Commit

Permalink
check full map for clear
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Sep 26, 2024
1 parent 69cfaf1 commit 8ef1099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/textual/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,8 @@ async def _on_update(self, message: messages.Update) -> None:
widget = message.widget
assert isinstance(widget, Widget)

if widget in self._compositor.widgets:
compositor = self._compositor
if widget in compositor.widgets or widget in compositor.full_map:
self._dirty_widgets.add(widget)
self.check_idle()

Expand Down

0 comments on commit 8ef1099

Please sign in to comment.