mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Resize all open popup panels in layout, not just the topmost one
Probably not the most import feature in the world, but when resizing the terminal window while multiple popup panels were open at the same time, we would only resize the topmost one. The main reason for changing this is because it makes the next commit easier to implement.
This commit is contained in:
parent
1d502d3245
commit
1ab1fb3599
5 changed files with 25 additions and 11 deletions
|
@ -73,6 +73,10 @@ func (self *guiCommon) CurrentSideContext() types.Context {
|
|||
return self.gui.State.ContextMgr.CurrentSide()
|
||||
}
|
||||
|
||||
func (self *guiCommon) CurrentPopupContexts() []types.Context {
|
||||
return self.gui.State.ContextMgr.PopupContexts()
|
||||
}
|
||||
|
||||
func (self *guiCommon) IsCurrentContext(c types.Context) bool {
|
||||
return self.gui.State.ContextMgr.IsCurrent(c)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue