add alpha to all colors
This commit is contained in:
parent
b5e655e1f2
commit
42db19d748
|
@ -95,6 +95,8 @@ Color.normalize = function(c) {
|
|||
continue;
|
||||
}
|
||||
|
||||
c[p][3] = 255;
|
||||
|
||||
for (var color of c[p]) {
|
||||
if (color > 1) {
|
||||
fmt = "8b";
|
||||
|
|
Loading…
Reference in a new issue