mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix reaction images on Retina screen.
This commit is contained in:
parent
0863941642
commit
1a8cc87e60
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ void AddReactionIcon(
|
||||||
crl::async([icon = std::move(state->icon)]{});
|
crl::async([icon = std::move(state->icon)]{});
|
||||||
}
|
}
|
||||||
if (!state->image.isNull()) {
|
if (!state->image.isNull()) {
|
||||||
p.drawImage(0, 0, state->image);
|
p.drawImage(QRect(0, 0, size, size), state->image);
|
||||||
}
|
}
|
||||||
}, icon->lifetime());
|
}, icon->lifetime());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue