How are dropped components indexed in the canvas? #484
cruxcode
started this conversation in
Guides: Atri Framework Reference
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The first child is given index 1, the next child will be x2 i.e. 2, the next child will be 4, and so on.
If a component is dropped before the first child, the new index will first_child_index/2.
If a component is dropped in between two components, the new index will be the mean of the surrounding components.
Beta Was this translation helpful? Give feedback.
All reactions