diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-08-19 18:21:58 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:40 +0200 |
| commit | 08c3217bcff7e819c01af5fc396ef0565f8a5ba9 (patch) | |
| tree | 1f454fbb7ba26d1a0473c1f752bbf6ef00a857ce | |
| parent | 5a844c1bff3baaa156818ffbbde2c63b9d304bfa (diff) | |
| download | muhqs-game-08c3217bcff7e819c01af5fc396ef0565f8a5ba9.tar.gz muhqs-game-08c3217bcff7e819c01af5fc396ef0565f8a5ba9.zip | |
register PocList hover event callback
| -rw-r--r-- | go/ui/textBox.go | 1 |
1 files changed, 1 insertions, 0 deletions
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() |
