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