Update approach to settings

Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
This commit is contained in:
Nate Butler 2023-10-18 16:16:58 -04:00
parent 289255d67a
commit 8b637e194e
7 changed files with 59 additions and 83 deletions

View file

@ -61,7 +61,7 @@ impl<S: 'static + Send + Sync> Panel<S> {
scroll_state,
current_side: PanelSide::default(),
allowed_sides: PanelAllowedSides::default(),
initial_width: setting.default_panel_size(),
initial_width: *setting.default_panel_size,
width: None,
children: SmallVec::new(),
}