diff options
Diffstat (limited to 'lib/ui/popover.go')
-rw-r--r-- | lib/ui/popover.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ui/popover.go b/lib/ui/popover.go index 9cc491da..5a6d0542 100644 --- a/lib/ui/popover.go +++ b/lib/ui/popover.go @@ -1,6 +1,6 @@ package ui -import "github.com/gdamore/tcell/v2" +import "git.sr.ht/~rockorager/vaxis" type Popover struct { x, y, width, height int @@ -39,7 +39,7 @@ func (p *Popover) Draw(ctx *Context) { p.content.Draw(subcontext) } -func (p *Popover) Event(e tcell.Event) bool { +func (p *Popover) Event(e vaxis.Event) bool { if di, ok := p.content.(DrawableInteractive); ok { return di.Event(e) } |