From 08c3217bcff7e819c01af5fc396ef0565f8a5ba9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 19 Aug 2025 18:21:58 +0200 Subject: register PocList hover event callback --- go/ui/textBox.go | 1 + 1 file changed, 1 insertion(+) (limited to 'go') diff --git a/go/ui/textBox.go b/go/ui/textBox.go index 17514029..e2238078 100644 --- a/go/ui/textBox.go +++ b/go/ui/textBox.go @@ -153,6 +153,7 @@ func NewPocList(centerX, bottomY int, poc game.PileOfCards, c *Collection) *PocL } w.hoverCardView.init(w, c) + w.RegisterHandler("hover", w.hoverCardView.Hover) w.renderImpl = func() *ebiten.Image { w.setText() -- cgit v1.2.3