1
0

Also ignore less indented siblings for find children

This commit is contained in:
Stefan Rakel
2023-10-27 12:16:03 +02:00
parent ef4aa8a52a
commit cd92ad32ce

View File

@@ -133,7 +133,7 @@ local function findChildren(startCheckbox)
if not skipped then
return children
end
elseif checkbox.indentation == startCheckbox.indentation then
elseif checkbox.indentation <= startCheckbox.indentation then
return children
elseif checkbox.indentation > startCheckbox.indentation then
table.insert(children, checkbox)