From 7ba6e029ce6e90123d867d9ce74ab49420f3f3b9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 4 Sep 2025 19:12:44 +0200 Subject: make hoverPermInfo transparent --- go/ui/hoverable.go | 2 ++ 1 file changed, 2 insertions(+) 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 { -- cgit v1.2.3