2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Correct spoiler selections.

This commit is contained in:
John Preston
2022-09-18 15:17:49 +04:00
parent cd00d41cca
commit 4f948699c0
17 changed files with 63 additions and 12 deletions

View File

@@ -982,12 +982,13 @@ void Generator::paintHistoryShadows() {
void Generator::setTextPalette(const style::TextPalette &st) {
_textPalette.linkFg = st.linkFg[_palette].clone();
_textPalette.monoFg = st.monoFg[_palette].clone();
_textPalette.spoilerFg = st.spoilerFg[_palette].clone();
_textPalette.selectBg = st.selectBg[_palette].clone();
_textPalette.selectFg = st.selectFg[_palette].clone();
_textPalette.selectLinkFg = st.selectLinkFg[_palette].clone();
_textPalette.selectMonoFg = st.selectMonoFg[_palette].clone();
_textPalette.selectSpoilerFg = st.selectSpoilerFg[_palette].clone();
_textPalette.selectOverlay = st.selectOverlay[_palette].clone();
_textPalette.spoilerFg = st.spoilerFg[_palette].clone();
_p->setTextPalette(_textPalette);
}