mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[poincare] Fix HorizontalLayoutRef::addOrMergeChildAtIndex
This commit is contained in:
@@ -348,9 +348,6 @@ void HorizontalLayoutRef::addOrMergeChildAtIndex(LayoutRef l, int index, bool re
|
||||
if (isAllocationFailure()) {
|
||||
return;
|
||||
}
|
||||
if (l.isEmpty() && removeEmptyChildren) {
|
||||
return;
|
||||
}
|
||||
if (l.isHorizontal()) {
|
||||
mergeChildrenAtIndex(HorizontalLayoutRef(l.node()), index, removeEmptyChildren, cursor);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user