Add settings
This commit is contained in:
parent
d26f76ba90
commit
d023189bda
5 changed files with 36 additions and 28 deletions
|
@ -13,6 +13,7 @@ pub enum ProjectPanelDockPosition {
|
|||
#[derive(Deserialize, Debug)]
|
||||
pub struct ProjectPanelSettings {
|
||||
pub git_status: bool,
|
||||
pub file_icons: bool,
|
||||
pub dock: ProjectPanelDockPosition,
|
||||
pub default_width: f32,
|
||||
}
|
||||
|
@ -20,6 +21,7 @@ pub struct ProjectPanelSettings {
|
|||
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema, Debug)]
|
||||
pub struct ProjectPanelSettingsContent {
|
||||
pub git_status: Option<bool>,
|
||||
pub file_icons: Option<bool>,
|
||||
pub dock: Option<ProjectPanelDockPosition>,
|
||||
pub default_width: Option<f32>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue