mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-22 14:21:33 +03:00
Ignore some private accesses
It's fiiiiine... (until these things change, and the type: ignore comment starts hiding an actual problem)
This commit is contained in:
parent
38c40f4b77
commit
e200501518
@ -166,10 +166,10 @@ class EnhancedDirectoryTree(DirectoryTree):
|
||||
Returns:
|
||||
A Rich Text object containing the label.
|
||||
"""
|
||||
node_label = node._label.copy()
|
||||
node_label = node._label.copy() # type: ignore
|
||||
node_label.stylize(style)
|
||||
|
||||
if node._allow_expand:
|
||||
if node._allow_expand: # type: ignore
|
||||
prefix = (FOLDER_OPEN_ICON if node.is_expanded else FOLDER_CLOSED_ICON)
|
||||
prefix.stylize_before(base_style + TOGGLE_STYLE)
|
||||
node_label.stylize_before(
|
||||
|
Loading…
Reference in New Issue
Block a user