From 84d69cf805e1b998768a5a340f0388cf68307ff2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 30 Jul 2025 20:25:15 +0200 Subject: use any instead of interface{} --- go/ui/textBox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go/ui/textBox.go') diff --git a/go/ui/textBox.go b/go/ui/textBox.go index c93e14e2..7a3772f0 100644 --- a/go/ui/textBox.go +++ b/go/ui/textBox.go @@ -179,7 +179,7 @@ func (w *PocList) setText() { w.Y = w.bottomY - int(height) - w.YMargin } -func (w *PocList) FindObjectAt(_x, _y int) interface{} { +func (w *PocList) FindObjectAt(_x, _y int) any { if !w.Contains(_x, _y) { return nil } -- cgit v1.2.3