From b3fc6cba9ffd3974d267bdf53308844b0dc781e7 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Tue, 3 Oct 2023 08:23:15 -0700 Subject: [PATCH] make it not impossible to set a transparent background color --- drawing/color.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing/color.go b/drawing/color.go index cfe0924..aa036c4 100644 --- a/drawing/color.go +++ b/drawing/color.go @@ -7,7 +7,7 @@ import ( var ( // ColorTransparent is a fully transparent color. - ColorTransparent = Color{} + ColorTransparent = Color{R: 255, G: 255, B: 255, A: 0} // ColorWhite is white. ColorWhite = Color{R: 255, G: 255, B: 255, A: 255}