Ensure color mode is set for selection foreground overrides
This commit is contained in:
@@ -200,6 +200,7 @@ export class DomRendererRowFactory {
|
|||||||
// Apply selection foreground if applicable
|
// Apply selection foreground if applicable
|
||||||
if (!isTop) {
|
if (!isTop) {
|
||||||
if (this._colors.selectionForeground && this._selectionService.isCellInSelection(x, row)) {
|
if (this._colors.selectionForeground && this._selectionService.isCellInSelection(x, row)) {
|
||||||
|
fgColorMode = Attributes.CM_RGB;
|
||||||
fg = this._colors.selectionForeground.rgba >> 8 & 0xFFFFFF;
|
fg = this._colors.selectionForeground.rgba >> 8 & 0xFFFFFF;
|
||||||
fgOverride = this._colors.selectionForeground;
|
fgOverride = this._colors.selectionForeground;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user