Always use first color as the main one.
This commit is contained in:
parent
cb6698cf4a
commit
c2a1817400
|
@ -781,9 +781,7 @@ ColorIndexValues ChatStyle::computeColorIndexValues(
|
||||||
};
|
};
|
||||||
result.bg = result.outlines[0];
|
result.bg = result.outlines[0];
|
||||||
result.bg.setAlpha(0.12 * 255);
|
result.bg.setAlpha(0.12 * 255);
|
||||||
result.name = (_dark && colorPatternIndex(colorIndex) == 1)
|
result.name = result.outlines[0];
|
||||||
? result.outlines[1]
|
|
||||||
: result.outlines[0];
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user