Fix empty dir icons updating incorrectly

This commit is contained in:
Cooper b. Anderson
2021-02-18 06:47:24 -05:00
committed by Kiyan
parent 84aa8d7ba7
commit 6647f96739
3 changed files with 5 additions and 6 deletions

View File

@@ -92,6 +92,7 @@ end
function M.unroll_dir(node)
node.open = not node.open
if node.children_initial then node.children_initial = false end
if #node.entries > 0 then
renderer.draw(M.Tree, true)
else