diff options
Diffstat (limited to 'go/ui/hoverable.go')
| -rw-r--r-- | go/ui/hoverable.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/ui/hoverable.go b/go/ui/hoverable.go index 3f7e8def..c70340bb 100644 --- a/go/ui/hoverable.go +++ b/go/ui/hoverable.go @@ -84,10 +84,10 @@ type hoverPermInfo struct { hoverWidget } -func (h *hoverPermInfo) init(w Widget, c *Collection) { +func (h *hoverPermInfo) init(mv *MapView, c *Collection) { h.c = c h.createHint = func(x, y int) Widget { - obj := w.FindObjectAt(x, y) + obj := mv.FindObjectAt(x, y) if obj == nil { return nil } |
