Fix partial expansion of grouped nodes

This commit is contained in:
ghostbuster91 2025-08-02 16:09:58 +02:00
parent 4ab16dd3a7
commit 3dac0be704
No known key found for this signature in database

View File

@ -52,7 +52,15 @@ local function should_expand(expansion_count, node, should_descend)
return false return false
end end
return not dir.open and should_descend(expansion_count, node) if not dir.open and should_descend(expansion_count, node) then
core.get_explorer():expand(node)
if node.group_next then
return should_expand(expansion_count, node.group_next, should_descend)
else
return true
end
end
return false
end end