Fix transparent foreground color

This commit is contained in:
dennnnny
2023-08-14 09:49:18 +08:00
parent bef87403db
commit 855e911398
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -298,7 +298,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;
}