Skip to content

Color contrast cache will have conflicting keys for different color modes #2601

@Tyriar

Description

@Tyriar

The cache key is based on the fg and bg color raw value:

let adjustedColor = this._colors.contrastCache.getColor(this._workCell.bg, this._workCell.fg);

This will overlap for different color modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions