This commit is contained in:
Will McGugan
2022-12-25 14:24:29 +00:00
parent 88b2cd60a2
commit b8f8d60f2c

View File

@@ -787,8 +787,7 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True):
segments = line_pad(segments, 0, pad_width - guides.cell_len, line_style)
self._line_cache[cache_key] = segments
segments = line_crop(segments, x1, x2, width)
segments = Segment.adjust_line_length(segments, width)
segments = line_crop(segments, x1, x2, Segment.get_line_length(segments))
return segments