bugfix for alpha in hex color strings
This commit is contained in:
parent
9ed7a36cbc
commit
49eb9de8e6
1 changed files with 1 additions and 1 deletions
2
color.go
2
color.go
|
@ -196,7 +196,7 @@ func parseColor(value ...interface{}) (c glColor, ok bool) {
|
|||
if !ok {
|
||||
return
|
||||
}
|
||||
if len(str) == 4 {
|
||||
if len(str) == 8 {
|
||||
ia, ok = parseHexRunePair(rune(str[6]), rune(str[7]))
|
||||
if !ok {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue