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 14:46:14 +0200 |
| commit | bd7f0084f0e56f2ad1da46453ec15f5007bf7922 (patch) | |
| tree | 2fef6c35025124abd7c5677b68934855f4e65a35 | |
| parent | 4df7b89a0133269f9fba0e76d03c22823861cf30 (diff) | |
| download | muhqs-game-bd7f0084f0e56f2ad1da46453ec15f5007bf7922.tar.gz muhqs-game-bd7f0084f0e56f2ad1da46453ec15f5007bf7922.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() |
