1
0
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:
Jesse Duffield 2021-04-05 13:34:23 +10:00
parent 7178bab6b4
commit fbb33b7abc

View File

@ -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 {