Fix sorted list edge case

This commit is contained in:
Daniel Imms
2022-05-11 09:49:23 -07:00
parent 931ee9e89e
commit 999f255893
3 changed files with 10 additions and 1 deletions
@@ -419,7 +419,6 @@ export class WebglRenderer extends Disposable implements IRenderer {
if (this._workColors.fg & FgFlags.INVERSE) {
if (bgOverride !== undefined && fgOverride === undefined) {
// Resolve bg color type (default color has a different meaning in fg vs bg)
debugger;
if ((this._workColors.bg & Attributes.CM_MASK) === Attributes.CM_DEFAULT) {
fgOverride = (this._workColors.fg & ~(Attributes.RGB_MASK | FgFlags.INVERSE | Attributes.CM_MASK)) | ((this._colors.background.rgba >> 8 & 0xFFFFFF) & Attributes.RGB_MASK) | Attributes.CM_RGB;
} else {