gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 976HTML 921Markdown 12TOML 82979 Definitions

add todo

b6f0d17e5d8eca9e2b5056a9f6b67440aff3b0b5 · by Emil Sjölander · (7 years ago) · parent 7a0d026a9 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +2 −0

diff --git a/src/algo.rs b/src/algo.rs
index 96df6eff8..59c8e1f24 100644
--- a/src/algo.rs
+++ b/src/algo.rs
@@ -1309,6 +1309,8 @@ fn compute_internal(
         })
         .collect();
 
+    // TODO - This adds all the absolute children to the end of the list instead of adding them in
+    // the child order they were defined. This has to be fixed.
     children.append(&mut absolute_children);
 
     ComputeResult { size: FlexSize { width: container_width, height: container_height }, children }