Skip to content

Commit fe04414

Browse files
authored
Merge pull request #4688 from Textualize/fix-mouse-over
fix mouse flicker
2 parents 4b3ec13 + 5664084 commit fe04414

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1818
- Fixed grid + keyline when the grid has auto dimensions https://github.com/Textualize/textual/pull/4680
1919
- Fixed mouse code leakage https://github.com/Textualize/textual/pull/4681
2020
- Fixed link inside markdown table not posting a `Markdown.LinkClicked` message https://github.com/Textualize/textual/issues/4683
21+
- Fixed issue with mouse movements on non-active screen https://github.com/Textualize/textual/pull/4688
2122

2223

2324
## [0.70.0] - 2024-06-19

src/textual/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ def _update_mouse_over(self, screen: Screen) -> None:
23192319
23202320
"""
23212321

2322-
if self.mouse_over is None:
2322+
if self.mouse_over is None or not screen.is_active:
23232323
return
23242324

23252325
async def check_mouse() -> None:

0 commit comments

Comments
 (0)