fix(grid): missing generic argument of Taffy
This commit is contained in:
parent
aa76a1c820
commit
2c55285ad4
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ pub fn resolve<Message>(
|
||||||
let mut leafs = Vec::with_capacity(items.len());
|
let mut leafs = Vec::with_capacity(items.len());
|
||||||
let mut nodes = Vec::with_capacity(items.len());
|
let mut nodes = Vec::with_capacity(items.len());
|
||||||
|
|
||||||
let mut taffy = Taffy::with_capacity(items.len() + 1);
|
let mut taffy = Taffy::<()>::with_capacity(items.len() + 1);
|
||||||
|
|
||||||
// Attach widgets as child nodes.
|
// Attach widgets as child nodes.
|
||||||
for (child, assignment) in items.iter().zip(assignments.iter()) {
|
for (child, assignment) in items.iter().zip(assignments.iter()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue