@@ -419,7 +419,7 @@ export class DomRendererRowFactory {
|
|||||||
break;
|
break;
|
||||||
case Attributes.CM_DEFAULT:
|
case Attributes.CM_DEFAULT:
|
||||||
default:
|
default:
|
||||||
if (!this._applyMinimumContrast(charElement, resolvedBg, colors.foreground, cell, bgOverride, undefined)) {
|
if (!this._applyMinimumContrast(charElement, resolvedBg, colors.foreground, cell, bgOverride, fgOverride)) {
|
||||||
if (isInverse) {
|
if (isInverse) {
|
||||||
classes.push(`xterm-fg-${INVERTED_DEFAULT_COLOR}`);
|
classes.push(`xterm-fg-${INVERTED_DEFAULT_COLOR}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user