Skip to content

Commit

Permalink
remove -screen-suspended class
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Oct 23, 2024
1 parent 3d65f2b commit 52128cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/textual/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,6 @@ def _screen_resized(self, size: Size):

def _on_screen_resume(self) -> None:
"""Screen has resumed."""
self.remove_class("-screen-suspended")
self.stack_updates += 1
self.app._refresh_notifications()
size = self.app.size
Expand All @@ -1230,7 +1229,6 @@ def _on_screen_resume(self) -> None:

def _on_screen_suspend(self) -> None:
"""Screen has suspended."""
self.add_class("-screen-suspended")
self.app._set_mouse_over(None)
self._clear_tooltip()
self.stack_updates += 1
Expand Down

0 comments on commit 52128cd

Please sign in to comment.