Fix adding initial tree
I just forgot to add it to the deque... Heh
This commit is contained in:
parent
75fd0e7bbc
commit
2b2270b674
1 changed files with 2 additions and 0 deletions
|
|
@ -96,6 +96,8 @@ class TreeList:
|
||||||
# below that.
|
# below that.
|
||||||
self._lower_offset = offset - 1
|
self._lower_offset = offset - 1
|
||||||
|
|
||||||
|
self._deque.extend(tree)
|
||||||
|
|
||||||
def add_above(self, tree: List[RenderedElement]) -> None:
|
def add_above(self, tree: List[RenderedElement]) -> None:
|
||||||
"""
|
"""
|
||||||
Add a rendered tree above all current trees.
|
Add a rendered tree above all current trees.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue