Fix inverse dim on canvas renderer

This commit is contained in:
Daniel Imms
2022-07-24 13:20:04 -07:00
parent ee2e54487d
commit a4f7e2d8e9
3 changed files with 11 additions and 6 deletions
-2
View File
@@ -181,9 +181,7 @@ export class TextRenderLayer extends BaseRenderLayer {
// Apply dim to the background, this is relatively slow as the CSS is re-parsed but dim is
// rarely used
if (nextFillStyle && cell.isDim()) {
console.log('old', nextFillStyle);
nextFillStyle = color.multiplyOpacity(css.toColor(nextFillStyle), 0.5).css;
console.log('new', nextFillStyle);
}
// Get any decoration foreground/background overrides, this must be fetched before the early