Skip to content

Commit

Permalink
Merge pull request #4688 from Textualize/fix-mouse-over
Browse files Browse the repository at this point in the history
fix mouse flicker
  • Loading branch information
willmcgugan authored Jun 29, 2024
2 parents 4b3ec13 + 5664084 commit fe04414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fixed grid + keyline when the grid has auto dimensions https://github.com/Textualize/textual/pull/4680
- Fixed mouse code leakage https://github.com/Textualize/textual/pull/4681
- Fixed link inside markdown table not posting a `Markdown.LinkClicked` message https://github.com/Textualize/textual/issues/4683
- Fixed issue with mouse movements on non-active screen https://github.com/Textualize/textual/pull/4688


## [0.70.0] - 2024-06-19
Expand Down
2 changes: 1 addition & 1 deletion src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ def _update_mouse_over(self, screen: Screen) -> None:
"""

if self.mouse_over is None:
if self.mouse_over is None or not screen.is_active:
return

async def check_mouse() -> None:
Expand Down

0 comments on commit fe04414

Please sign in to comment.