mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Don't gray out background emoji reset icon.
This commit is contained in:
parent
b180070ba3
commit
49bc8ccd6a
1 changed files with 0 additions and 10 deletions
|
@ -1398,17 +1398,7 @@ void EmojiListWidget::drawRecent(
|
|||
_emojiPaintContext->position = position
|
||||
+ _innerPosition
|
||||
+ _customPosition;
|
||||
const auto isResetIcon = (_mode == Mode::BackgroundEmoji)
|
||||
&& v::is<EmojiPtr>(recent.id.data);
|
||||
if (isResetIcon) {
|
||||
_emojiPaintContext->textColor = st::windowSubTextFg->c;
|
||||
}
|
||||
custom->paint(p, *_emojiPaintContext);
|
||||
if (isResetIcon) {
|
||||
_emojiPaintContext->textColor = _customTextColor
|
||||
? _customTextColor()
|
||||
: st().textFg->c;
|
||||
}
|
||||
} else if (const auto emoji = std::get_if<EmojiPtr>(&recent.id.data)) {
|
||||
if (_mode == Mode::EmojiStatus) {
|
||||
position += QPoint(
|
||||
|
|
Loading…
Add table
Reference in a new issue