When setting up initial tree selection, don't render the node unless it is focused.

This commit is contained in:
Nolan Darilek 2019-10-03 09:47:24 -05:00
parent 5a38aac4a9
commit 18943786a9

View File

@ -250,6 +250,7 @@ func tree_item_selected():
if node.select_mode == Tree.SELECT_MULTI:
cell.select(0)
tree_deselect_all_but(cell, node.get_root())
if node.has_focus():
tree_item_render()
prev_selected_cell = cell
else: