diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 20:25:15 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:33 +0200 |
| commit | 84d69cf805e1b998768a5a340f0388cf68307ff2 (patch) | |
| tree | c6578326dafade6fd00ccdee525af288f140fe8f /go/ui/textBox.go | |
| parent | 81e9ab9db504e09e24523482b169726a25d9a3b1 (diff) | |
| download | muhqs-game-84d69cf805e1b998768a5a340f0388cf68307ff2.tar.gz muhqs-game-84d69cf805e1b998768a5a340f0388cf68307ff2.zip | |
use any instead of interface{}
Diffstat (limited to 'go/ui/textBox.go')
| -rw-r--r-- | go/ui/textBox.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
