Also ignore less indented siblings for find children
This commit is contained in:
@@ -133,7 +133,7 @@ local function findChildren(startCheckbox)
|
|||||||
if not skipped then
|
if not skipped then
|
||||||
return children
|
return children
|
||||||
end
|
end
|
||||||
elseif checkbox.indentation == startCheckbox.indentation then
|
elseif checkbox.indentation <= startCheckbox.indentation then
|
||||||
return children
|
return children
|
||||||
elseif checkbox.indentation > startCheckbox.indentation then
|
elseif checkbox.indentation > startCheckbox.indentation then
|
||||||
table.insert(children, checkbox)
|
table.insert(children, checkbox)
|
||||||
|
|||||||
Reference in New Issue
Block a user