diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-09-03 14:26:21 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-09-03 14:26:21 +0200 |
| commit | 24a6b1d7aced3e2da8a4c26dfa844a6eaaf4632e (patch) | |
| tree | 40310c055521bad4fc2bd706e8fdb9b7dc1fb2cd /go/ui/hoverable.go | |
| parent | 0587acd2dd03cb92d67ad0651eedda7275c084d7 (diff) | |
| download | muhqs-game-24a6b1d7aced3e2da8a4c26dfa844a6eaaf4632e.tar.gz muhqs-game-24a6b1d7aced3e2da8a4c26dfa844a6eaaf4632e.zip | |
add ui to packages and format code
Diffstat (limited to 'go/ui/hoverable.go')
| -rw-r--r-- | go/ui/hoverable.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/go/ui/hoverable.go b/go/ui/hoverable.go index 3d547421..89adb912 100644 --- a/go/ui/hoverable.go +++ b/go/ui/hoverable.go @@ -10,7 +10,7 @@ const ( ) type hoverWidget struct { - c *Collection + c *Collection createHint func(x, y int) Widget reset func() xMax, yMax int @@ -63,7 +63,6 @@ type hoverCardView struct { func (h *hoverCardView) init(w Widget, c *Collection) { h.c = c h.createHint = func(x, y int) Widget { - obj := w.FindObjectAt(x, y) if obj == nil { return nil |
