mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
increased sticker selection opacity level
This commit is contained in:
parent
2fa6229214
commit
f560364f30
2 changed files with 3 additions and 2 deletions
|
@ -775,6 +775,7 @@ msgOutSelectBG: #b7dbdb;
|
|||
msgInSelectBG: #c2dcf2; // #358cd4 with 30% opacity
|
||||
msgOutSelectOverlay: #358cd44c;
|
||||
msgInSelectOverlay: #358cd44c;
|
||||
msgStickerOverlay: #358cd47f;
|
||||
msgOutServiceColor: #3a8e26;
|
||||
msgInServiceColor: #0e7acd;
|
||||
msgShadow: 2px;
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue