Skip to content

Commit

Permalink
fixup! Add user config expandedSidePanelWeight
Browse files Browse the repository at this point in the history
skip-checks:true
  • Loading branch information
stefanhaller committed Jun 1, 2024
1 parent d505d35 commit dfaa725
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ gui:
expandFocusedSidePanel: false

# The weight of the expanded side panel, relative to the other panels. 2 means
# twice as heigh as the other panels. Only relevant if `expandFocusedSidePanel` is true.
# twice as tall as the other panels. Only relevant if `expandFocusedSidePanel` is true.
expandedSidePanelWeight: 2

# Sometimes the main window is split in two (e.g. when the selected file has both staged and unstaged changes). This setting controls how the two sections are split.
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/user_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type GuiConfig struct {
// If true, increase the height of the focused side window; creating an accordion effect.
ExpandFocusedSidePanel bool `yaml:"expandFocusedSidePanel"`
// The weight of the expanded side panel, relative to the other panels. 2 means
// twice as heigh as the other panels. Only relevant if `expandFocusedSidePanel` is true.
// twice as tall as the other panels. Only relevant if `expandFocusedSidePanel` is true.
ExpandedSidePanelWeight int `yaml:"expandedSidePanelWeight"`
// Sometimes the main window is split in two (e.g. when the selected file has both staged and unstaged changes). This setting controls how the two sections are split.
// Options are:
Expand Down
2 changes: 1 addition & 1 deletion schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"expandedSidePanelWeight": {
"type": "integer",
"description": "The weight of the expanded side panel, relative to the other panels. 2 means\ntwice as heigh as the other panels. Only relevant if `expandFocusedSidePanel` is true.",
"description": "The weight of the expanded side panel, relative to the other panels. 2 means\ntwice as tall as the other panels. Only relevant if `expandFocusedSidePanel` is true.",
"default": 2
},
"mainPanelSplitMode": {
Expand Down

0 comments on commit dfaa725

Please sign in to comment.