summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context/list_context_trait.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-13 12:47:15 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commit55af07a1bb4e1d3f85a456c2604c46e5535aca40 (patch)
treec5f671f3aaa8016687fbfa3fb3e635f1d4067337 /pkg/gui/context/list_context_trait.go
parent33a223e9813daf426d033c07fce5a5fab4276653 (diff)
fix CI
Diffstat (limited to 'pkg/gui/context/list_context_trait.go')
-rw-r--r--pkg/gui/context/list_context_trait.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/context/list_context_trait.go b/pkg/gui/context/list_context_trait.go
index 6deb5dfc1..e508c8029 100644
--- a/pkg/gui/context/list_context_trait.go
+++ b/pkg/gui/context/list_context_trait.go
@@ -43,7 +43,7 @@ func (self *ListContextTrait) HandleFocus(opts ...types.OnFocusOpts) error {
func (self *ListContextTrait) HandleFocusLost() error {
self.viewTrait.SetOriginX(0)
- return self.Context.HandleFocus()
+ return self.Context.HandleFocusLost()
}
// OnFocus assumes that the content of the context has already been rendered to the view. OnRender is the function which actually renders the content to the view