Always use first color as the main one.

This commit is contained in:
John Preston 2023-10-28 20:19:09 +04:00
parent cb6698cf4a
commit c2a1817400
1 changed files with 1 additions and 3 deletions

View File

@ -781,9 +781,7 @@ ColorIndexValues ChatStyle::computeColorIndexValues(
};
result.bg = result.outlines[0];
result.bg.setAlpha(0.12 * 255);
result.name = (_dark && colorPatternIndex(colorIndex) == 1)
? result.outlines[1]
: result.outlines[0];
result.name = result.outlines[0];
return result;
}