mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-15 22:26:40 +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) {
|
func (gui *Gui) splitMainPanel(splitMainPanel bool) {
|
||||||
gui.State.SplitMainPanel = splitMainPanel
|
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 {
|
func (gui *Gui) isMainPanelSplit() bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user