fix(stacks): panic in layout when tabs are paginated
This commit is contained in:
parent
a6c26b0bde
commit
134bb9f59b
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ where
|
|||
|
||||
let mut nodes = self.elements[2..self.elements.len() - 2]
|
||||
.iter()
|
||||
.zip(tree.children.iter_mut())
|
||||
.zip(tree.children.iter_mut().skip(2))
|
||||
.map(|(tab, tab_tree)| tab.as_widget().layout(tab_tree, renderer, &child_limits))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue