aboutsummaryrefslogtreecommitdiff
path: root/go/ui/hoverable.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/ui/hoverable.go')
-rw-r--r--go/ui/hoverable.go3
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