diff options
Diffstat (limited to 'go/ui/button.go')
| -rw-r--r-- | go/ui/button.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/go/ui/button.go b/go/ui/button.go index 78ab459f..eac3c2e4 100644 --- a/go/ui/button.go +++ b/go/ui/button.go @@ -41,13 +41,6 @@ func (b *SimpleButton) render() *ebiten.Image { return img } -func (b *SimpleButton) FindObjectAt(x, y int) interface{} { - if b.Contains(x, y) { - return b - } - return nil -} - func (b *SimpleButton) Click(x, y int) { b.OnClick(b) } |
