1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

more standardisation

This commit is contained in:
Jesse Duffield
2020-08-18 22:41:14 +10:00
parent 6c270b6e26
commit 9c866fd49c
2 changed files with 7 additions and 3 deletions

View File

@@ -266,6 +266,9 @@ func (gui *Gui) currentViewName() string {
func (gui *Gui) resizeCurrentPopupPanel() error {
v := gui.g.CurrentView()
if v == nil {
return nil
}
if gui.isPopupPanel(v.Name()) {
return gui.resizePopupPanel(v)
}