mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Always use first color as the main one.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user