Merge pull request #3932 from Tyriar/tyriar/dim_bg

Fix inverse dim rendering on canvas+webgl
This commit is contained in:
Daniel Imms
2022-07-29 14:50:47 -07:00
committed by GitHub
7 changed files with 77 additions and 29 deletions
@@ -249,6 +249,13 @@ export class DomRendererRowFactory {
}
}
// If there is no background override by now it's the original color, so apply dim if needed
if (!bgOverride) {
if (cell.isDim()) {
bgOverride = color.multiplyOpacity(resolvedBg, 0.5);
}
}
// Foreground
switch (fgColorMode) {
case Attributes.CM_P16: