aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go/ui/hoverable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/ui/hoverable.go b/go/ui/hoverable.go
index 89adb912..08fd9240 100644
--- a/go/ui/hoverable.go
+++ b/go/ui/hoverable.go
@@ -1,6 +1,7 @@
package ui
import (
+ "image/color"
"muhq.space/muhqs-game/go/game"
)
@@ -115,6 +116,7 @@ func (h *hoverPermInfo) init(mv *MapView, c *Collection) {
}
hint := NewPermInfo(x+TILE_WIDTH, y, perm)
+ hint.Bg(color.RGBA{0, 0, 0, 0xc0})
wx, wy := x, y
if hint.X+hint.Width > h.xMax || y+hint.Height > h.yMax {