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