mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-23 06:41:32 +03:00
Remove obsolete visibility reset
I made sure to leave a comment here because I thought I might leave this in by accident.
I changed how it works in 79ae7e1b7b
.
This commit is contained in:
parent
336414d786
commit
62fb218a1a
@ -855,8 +855,6 @@ class Inspector(Container):
|
|||||||
"""Draw a box to the screen."""
|
"""Draw a box to the screen."""
|
||||||
try:
|
try:
|
||||||
box = self._highlight_boxes[dom_node][name]
|
box = self._highlight_boxes[dom_node][name]
|
||||||
# reset if hidden by get_widget_under_mouse (to avoid picking the highlight box)
|
|
||||||
box.visible = True
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
box = Container(classes="inspector_highlight")
|
box = Container(classes="inspector_highlight")
|
||||||
self._highlight_boxes[dom_node][name] = box
|
self._highlight_boxes[dom_node][name] = box
|
||||||
|
Loading…
Reference in New Issue
Block a user