make it not impossible to set a transparent background color

This commit is contained in:
Will Charczuk 2023-10-03 08:23:15 -07:00
parent 0d3588f719
commit b3fc6cba9f

View file

@ -7,7 +7,7 @@ import (
var ( var (
// ColorTransparent is a fully transparent color. // ColorTransparent is a fully transparent color.
ColorTransparent = Color{} ColorTransparent = Color{R: 255, G: 255, B: 255, A: 0}
// ColorWhite is white. // ColorWhite is white.
ColorWhite = Color{R: 255, G: 255, B: 255, A: 255} ColorWhite = Color{R: 255, G: 255, B: 255, A: 255}