Merge branch 'master' into refactor-better-encapsulation

This commit is contained in:
Jesse Duffield 2023-05-11 19:00:01 +10:00
commit 2b30085dba
14 changed files with 263 additions and 31 deletions

View file

@ -80,6 +80,10 @@ func (self *guiCommon) ActivateContext(context types.Context) error {
return self.gui.State.ContextMgr.ActivateContext(context, types.OnFocusOpts{})
}
func (self *guiCommon) ActivateContext(context types.Context) error {
return self.gui.activateContext(context, types.OnFocusOpts{})
}
func (self *guiCommon) GetAppState() *config.AppState {
return self.gui.Config.GetAppState()
}