diff --git a/Telegram/Resources/style.txt b/Telegram/Resources/style.txt index 4f005113a..55c936d29 100644 --- a/Telegram/Resources/style.txt +++ b/Telegram/Resources/style.txt @@ -775,6 +775,7 @@ msgOutSelectBG: #b7dbdb; msgInSelectBG: #c2dcf2; // #358cd4 with 30% opacity msgOutSelectOverlay: #358cd44c; msgInSelectOverlay: #358cd44c; +msgStickerOverlay: #358cd47f; msgOutServiceColor: #3a8e26; msgInServiceColor: #0e7acd; msgShadow: 2px; diff --git a/Telegram/SourceFiles/history.cpp b/Telegram/SourceFiles/history.cpp index 53460cc5b..6a687c261 100644 --- a/Telegram/SourceFiles/history.cpp +++ b/Telegram/SourceFiles/history.cpp @@ -3107,9 +3107,9 @@ void HistorySticker::draw(QPainter &p, const HistoryItem *parent, bool selected, } if (selected) { if (data->sticker->isNull()) { - p.drawPixmap(QPoint((_maxw - pixw) / 2, (_minh - pixh) / 2), data->thumb->pixBlurredColored(textstyleCurrent()->selectOverlay, pixw, pixh)); + p.drawPixmap(QPoint((_maxw - pixw) / 2, (_minh - pixh) / 2), data->thumb->pixBlurredColored(st::msgStickerOverlay, pixw, pixh)); } else { - p.drawPixmap(QPoint((_maxw - pixw) / 2, (_minh - pixh) / 2), data->sticker->pixColored(textstyleCurrent()->selectOverlay, pixw, pixh)); + p.drawPixmap(QPoint((_maxw - pixw) / 2, (_minh - pixh) / 2), data->sticker->pixColored(st::msgStickerOverlay, pixw, pixh)); } } else { if (data->sticker->isNull()) {