From 692925c4b440bc332c0dc966741bde1ce7d1bf20 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Tue, 2 May 2023 17:01:56 +0530 Subject: [PATCH] fix: set focus on internal Box for Image widget --- image.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/image.go b/image.go index 1d777ee..0780887 100644 --- a/image.go +++ b/image.go @@ -290,6 +290,8 @@ func (i *Image) Focus(delegate func(p Primitive)) { i.finished(-1) return } + + i.Box.Focus(delegate) } // render re-populates the [Image.pixels] slice besed on the current settings,