Skip to content
Snippets Groups Projects
Commit 3fb35c65 authored by George Nachman's avatar George Nachman
Browse files

Set background colors in foreground color key

parent 71addb76
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -271,9 +271,9 @@ static NSColor *ColorForVector(vector_float4 v) {
currentColorKey->fgBlue = line[x].fgBlue;
currentColorKey->bold = line[x].bold;
currentColorKey->faint = line[x].faint;
currentColorKey->backgroundColor[0] = 0; // TODO
currentColorKey->backgroundColor[1] = 0; // TODO
currentColorKey->backgroundColor[2] = 0; // TODO
currentColorKey->backgroundColor[0] = background[x].x;
currentColorKey->backgroundColor[1] = background[x].y;
currentColorKey->backgroundColor[2] = background[x].z;
if (x > 0 &&
currentColorKey->isMatch == previousColorKey->isMatch &&
currentColorKey->inUnderlinedRange == previousColorKey->inUnderlinedRange &&
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment