mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Replace CurrentPopupContexts() with Context().CurrentPopup()
This commit is contained in:
parent
3a8b97841f
commit
f30387e7f5
4 changed files with 2 additions and 6 deletions
|
@ -325,7 +325,7 @@ func (self *ConfirmationHelper) getSelectedSuggestionValue() string {
|
|||
|
||||
func (self *ConfirmationHelper) ResizeCurrentPopupPanels() {
|
||||
var parentPopupContext types.Context
|
||||
for _, c := range self.c.CurrentPopupContexts() {
|
||||
for _, c := range self.c.Context().CurrentPopup() {
|
||||
switch c {
|
||||
case self.c.Contexts().Menu:
|
||||
self.resizeMenu(parentPopupContext)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue