mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
smooth pixmap transform in emote input item
This commit is contained in:
parent
8818f3df18
commit
235b67f9da
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ void EmoteInputItem::action()
|
|||
|
||||
void EmoteInputItem::paint(QPainter *painter, const QRect &rect) const
|
||||
{
|
||||
painter->setRenderHint(QPainter::SmoothPixmapTransform);
|
||||
|
||||
if (this->emote_)
|
||||
{
|
||||
if (auto image = this->emote_->images.getImage(4))
|
||||
|
|
Loading…
Reference in a new issue