Change the default value to for buttons_visible usize::MAX
This commit is contained in:
parent
3aef16bf9e
commit
3d94acea06
1 changed files with 1 additions and 0 deletions
|
|
@ -377,6 +377,7 @@ where
|
|||
tree::State::new(LocalState {
|
||||
first: self.model.order.iter().copied().next().unwrap_or_default(),
|
||||
paragraphs: SecondaryMap::new(),
|
||||
buttons_visible: usize::MAX, // TODO: Maybe calculate this based on the size of the widget.
|
||||
..LocalState::default()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue