mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-01 13:17:53 +02:00
remove code that I'm pretty sure isn't needed
This commit is contained in:
parent
7178bab6b4
commit
fbb33b7abc
@ -171,11 +171,6 @@ func (gui *Gui) refreshMainViews(opts refreshMainOpts) error {
|
||||
|
||||
func (gui *Gui) splitMainPanel(splitMainPanel bool) {
|
||||
gui.State.SplitMainPanel = splitMainPanel
|
||||
|
||||
// no need to set view on bottom when splitMainPanel is false: it will have zero size anyway thanks to our view arrangement code.
|
||||
if splitMainPanel {
|
||||
gui.Views.Secondary.Visible = true
|
||||
}
|
||||
}
|
||||
|
||||
func (gui *Gui) isMainPanelSplit() bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user