Fix SortChildren in SetContainer
This commit is contained in:
parent
a6c5be608d
commit
60ff7f412a
1 changed files with 6 additions and 6 deletions
|
@ -289,17 +289,17 @@ function SetContainer(
|
|||
symbols
|
||||
);
|
||||
|
||||
// sort the children list by their position
|
||||
const parent = FindContainerById(containers, container.properties.parentId);
|
||||
if (parent !== null && parent !== undefined) {
|
||||
SortChildren(containers, parent);
|
||||
}
|
||||
|
||||
// Apply special behaviors: rigid, flex, symbol, anchor
|
||||
ApplyBehaviors(containers, container, symbols);
|
||||
|
||||
// Apply special behaviors on siblings
|
||||
ApplyBehaviorsOnSiblingsChildren(containers, container, symbols);
|
||||
|
||||
// sort the children list by their position
|
||||
const parent = FindContainerById(containers, container.properties.parentId);
|
||||
if (parent !== null && parent !== undefined) {
|
||||
SortChildren(containers, parent);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue