2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Correct spoiler colors in fully selected messages.

This commit is contained in:
John Preston
2022-09-17 01:59:27 +04:00
parent 749fb52113
commit cd00d41cca
4 changed files with 16 additions and 7 deletions

View File

@@ -987,9 +987,7 @@ void Generator::setTextPalette(const style::TextPalette &st) {
_textPalette.selectLinkFg = st.selectLinkFg[_palette].clone();
_textPalette.selectMonoFg = st.selectMonoFg[_palette].clone();
_textPalette.selectOverlay = st.selectOverlay[_palette].clone();
_textPalette.spoilerBg = st.spoilerBg[_palette].clone();
_textPalette.spoilerActiveBg = st.spoilerActiveBg[_palette].clone();
_textPalette.spoilerActiveFg = st.spoilerActiveFg[_palette].clone();
_textPalette.spoilerFg = st.spoilerFg[_palette].clone();
_p->setTextPalette(_textPalette);
}