mirror of
https://github.com/1j01/textual-paint.git
synced 2025-01-09 00:28:08 +03:00
Fix aborting picking when closing inspector with F12
This commit is contained in:
parent
b1e1a5ea4d
commit
79ff919e14
@ -3429,7 +3429,7 @@ class PaintApp(App[None]):
|
||||
inspector = self.query_one(Inspector)
|
||||
inspector.display = not inspector.display
|
||||
if not inspector.display:
|
||||
inspector.reset_highlight()
|
||||
inspector.picking = False
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
"""Add our widgets."""
|
||||
|
Loading…
Reference in New Issue
Block a user