Fix true color glyphs not having background cleared

This commit is contained in:
Daniel
2019-11-10 00:23:08 -08:00
parent 3773b22439
commit a2da8f9fbb
@@ -194,7 +194,7 @@ export class WebglCharAtlas implements IDisposable {
const arr = AttributeData.toColorRGB(rgb);
// TODO: This object creation is slow
return {
rgba: rgb << 255,
rgba: rgb << 8,
css: `#${toPaddedHex(arr[0])}${toPaddedHex(arr[1])}${toPaddedHex(arr[2])}`
};
}