text-only keys: transparent bg in web UI, #21252b bg on device

This commit is contained in:
Maksim Totmin
2026-06-22 10:14:06 +07:00
parent 8df8b65163
commit cf190c57e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ func composeImageWithLabel(src image.Image, text string, keySize int, fontSize f
}
func renderTextImage(text string, keySize int, fontSize float64) image.Image {
rgba := blankImage(keySize, color.RGBA{0, 0, 0, 255}).(*image.RGBA)
rgba := blankImage(keySize, color.RGBA{0, 0, 0, 0}).(*image.RGBA)
if text != "" {
face, err := parseDisplayFace(fontSize)