fix(parent node): do not close folder when should_close is false
This commit is contained in:
parent
a448e66dde
commit
82a646225f
@ -35,7 +35,7 @@ end
|
||||
|
||||
function M.parent_node(should_close)
|
||||
return function(node)
|
||||
if node.open then
|
||||
if should_close and node.open then
|
||||
node.open = false
|
||||
return renderer.draw()
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user