Merge pull request #4667 from Dennnnny/fix-transparent-foreground-color

Fix transparent foreground color
This commit is contained in:
Daniel Imms
2023-08-14 12:11:04 -07:00
committed by GitHub
+1 -1
View File
@@ -299,7 +299,7 @@ export class TextureAtlas implements ITextureAtlas {
case Attributes.CM_DEFAULT:
default:
if (inverse) {
result = this._config.colors.foreground;
result = color.opaque(this._config.colors.foreground);
} else {
result = this._config.colors.background;
}