mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-30 11:45:08 +00:00
Version 2.3: Fix emoji fingerprint on Retina.
This commit is contained in:
parent
b6a66bbf1b
commit
887b6629f6
@ -235,6 +235,7 @@ object_ptr<Ui::RpWidget> CreateFingerprintAndSignalBars(
|
|||||||
const auto background = raw->lifetime().make_state<QImage>(
|
const auto background = raw->lifetime().make_state<QImage>(
|
||||||
fullSize * cIntRetinaFactor(),
|
fullSize * cIntRetinaFactor(),
|
||||||
QImage::Format_ARGB32_Premultiplied);
|
QImage::Format_ARGB32_Premultiplied);
|
||||||
|
background->setDevicePixelRatio(cRetinaFactor());
|
||||||
rpl::merge(
|
rpl::merge(
|
||||||
rpl::single(rpl::empty_value()),
|
rpl::single(rpl::empty_value()),
|
||||||
Ui::Emoji::Updated(),
|
Ui::Emoji::Updated(),
|
||||||
|
Loading…
Reference in New Issue
Block a user