From c12057320c06f9b4a0bd6c9b25a1dd2d2bd8fd8d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 16 Feb 2023 18:57:15 +0100 Subject: move more ui logic into Collection * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner --- go/ui/stateBar.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'go/ui/stateBar.go') diff --git a/go/ui/stateBar.go b/go/ui/stateBar.go index 93de9af9..1686b5e1 100644 --- a/go/ui/stateBar.go +++ b/go/ui/stateBar.go @@ -44,9 +44,7 @@ func (sb *StateBar) Draw(screen *ebiten.Image) { sb.phaseView.Draw(screen) } -func (sb *StateBar) FindObjectAt(x, y int) interface{} { - return nil -} +func (sb *StateBar) FindObjectAt(x, y int) interface{} { return nil } func (sb *StateBar) ForceRedraw() { if sb.resourceView != nil { -- cgit v1.2.3